From 856d693480694c35c5536e7d7ead2954b4aff6bd Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 19 Mar 2008 13:53:25 +0000 Subject: Update to 0.3.14 git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10780 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/liboil/Makefile | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ devel/liboil/distinfo | 3 +++ devel/liboil/pkg-descr | 13 +++++++++++ devel/liboil/pkg-plist | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 devel/liboil/Makefile create mode 100644 devel/liboil/distinfo create mode 100644 devel/liboil/pkg-descr create mode 100644 devel/liboil/pkg-plist (limited to 'devel') diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile new file mode 100644 index 000000000..3f4f4246d --- /dev/null +++ b/devel/liboil/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: liboil +# Date created: Nov 24, 2004 +# Whom: ijliao +# +# $FreeBSD: ports/devel/liboil/Makefile,v 1.31 2008/02/05 12:33:13 ahze Exp $ +# $MCom$ +# $Id: Makefile,v 1.6 2008-03-19 13:53:25 ahze Exp $ + +PORTNAME= liboil +PORTVERSION= 0.3.14 +CATEGORIES= devel +MASTER_SITES= http://liboil.freedesktop.org/download/ + +MAINTAINER= multimedia@FreeBSD.org +COMMENT= Library of optimized inner loops + +USE_GNOME= pkgconfig gnomehack gnometarget ltverhack +USE_AUTOTOOLS= libtool:15 +USE_LDCONFIG= yes +CONFIGURE_ARGS= --disable-gtk-doc \ + --disable-glib +CFLAGS:= ${CFLAGS:N-O*} -O2 + +.include + +.if ${OSVERSION} < 600000 && !defined(WITH_3DNOW_GCC40) +BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 +RUN_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 +CC:= gcc34 +CXX:= g++34 +.endif + +.if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042 +USE_GCC= 4.1+ +.if ${OSVERSION} < 600000 +RUN_DEPENDS+= ${BUILD_DEPENDS} +.endif +.endif + +pre-everything:: +.if ${MACHINE_CPU:M3dnow}!="" && ${OSVERSION} < 700042 +.if !defined(WITH_3DNOW_GCC40) + @${ECHO_MSG} "You can enable 3dnow extensions by defining" + @${ECHO_MSG} "WITH_3DNOW_GCC40=yes" +.endif + @${ECHO_MSG} "" + @${ECHO_MSG} "Note: ${PORTNAME} will depend on gcc4.0+ with WITH_3DNOW_GCC40" + @${ECHO_MSG} "defined." +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's| diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo new file mode 100644 index 000000000..372e8aa25 --- /dev/null +++ b/devel/liboil/distinfo @@ -0,0 +1,3 @@ +MD5 (liboil-0.3.14.tar.gz) = 7a9f719e50656b795c06c0167012a84f +SHA256 (liboil-0.3.14.tar.gz) = a40c09db6ee24e03aa81f58329a57e45e55462a2e0f619b3796d4bf942c23f2f +SIZE (liboil-0.3.14.tar.gz) = 819559 diff --git a/devel/liboil/pkg-descr b/devel/liboil/pkg-descr new file mode 100644 index 000000000..f2850d13d --- /dev/null +++ b/devel/liboil/pkg-descr @@ -0,0 +1,13 @@ +Liboil is a library of simple functions that are optimized for various CPUs. +These functions are generally loops implementing simple algorithms, such as +converting an array of N integers to floating-point numbers or multiplying +and summing an array of N numbers. Clearly such functions are candidates for +significant optimization using various techniques, especially by using +extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.). + +Many multimedia applications and libraries already do similar things +internally. The goal of this project is to consolidate some of the code used +by various multimedia projects, and also make optimizations easier to use by +a broad range of applications. + +WWW: http://liboil.freedesktop.org diff --git a/devel/liboil/pkg-plist b/devel/liboil/pkg-plist new file mode 100644 index 000000000..bbf34358c --- /dev/null +++ b/devel/liboil/pkg-plist @@ -0,0 +1,60 @@ +bin/oil-bugreport +include/liboil-0.3/liboil/liboil-stdint.h +include/liboil-0.3/liboil/liboil.h +include/liboil-0.3/liboil/liboilclasses.h +include/liboil-0.3/liboil/liboilcpu.h +include/liboil-0.3/liboil/liboildebug.h +include/liboil-0.3/liboil/liboilfault.h +include/liboil-0.3/liboil/liboilfuncs.h +include/liboil-0.3/liboil/liboilfunction.h +include/liboil-0.3/liboil/liboilgcc.h +include/liboil-0.3/liboil/liboilinternal.h +include/liboil-0.3/liboil/liboilparameter.h +include/liboil-0.3/liboil/liboilprofile.h +include/liboil-0.3/liboil/liboilprototype.h +include/liboil-0.3/liboil/liboilrandom.h +include/liboil-0.3/liboil/liboiltest.h +include/liboil-0.3/liboil/liboiltypes.h +include/liboil-0.3/liboil/liboilutils.h +lib/liboil-0.3.a +lib/liboil-0.3.la +lib/liboil-0.3.so +lib/liboil-0.3.so.0 +libdata/pkgconfig/liboil-0.3.pc +share/gtk-doc/html/liboil/ch01.html +share/gtk-doc/html/liboil/ch02.html +share/gtk-doc/html/liboil/home.png +share/gtk-doc/html/liboil/index.html +share/gtk-doc/html/liboil/index.sgml +share/gtk-doc/html/liboil/left.png +share/gtk-doc/html/liboil/liboil-liboilclass-unstable.html +share/gtk-doc/html/liboil/liboil-liboilcpu.html +share/gtk-doc/html/liboil/liboil-liboildebug.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-conv.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-copy.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-dct.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-doc.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-math.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-math8x8.html +share/gtk-doc/html/liboil/liboil-liboilfuncs-pixel.html +share/gtk-doc/html/liboil/liboil-liboilimpl-unstable.html +share/gtk-doc/html/liboil/liboil-liboilinit-unstable.html +share/gtk-doc/html/liboil/liboil-liboilinit.html +share/gtk-doc/html/liboil/liboil-liboiljunk.html +share/gtk-doc/html/liboil/liboil-liboilmacros.html +share/gtk-doc/html/liboil/liboil-liboilparameter.html +share/gtk-doc/html/liboil/liboil-liboilprofile.html +share/gtk-doc/html/liboil/liboil-liboilprototype.html +share/gtk-doc/html/liboil/liboil-liboilrandom.html +share/gtk-doc/html/liboil/liboil-liboiltest.html +share/gtk-doc/html/liboil/liboil-liboiltypes.html +share/gtk-doc/html/liboil/liboil.devhelp +share/gtk-doc/html/liboil/liboil.devhelp2 +share/gtk-doc/html/liboil/right.png +share/gtk-doc/html/liboil/style.css +share/gtk-doc/html/liboil/up.png +@dirrm share/gtk-doc/html/liboil +@dirrmtry share/gtk-doc/html +@dirrmtry share/gtk-doc +@dirrm include/liboil-0.3/liboil +@dirrm include/liboil-0.3 -- cgit v1.2.3