diff options
author | bf <bf@FreeBSD.org> | 2014-02-07 23:37:31 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2014-02-07 23:37:31 +0800 |
commit | e5dfcc056e35f97a47abb85ed4a41fe266673197 (patch) | |
tree | 798872b24f168aa11ea91d5c243516acba880fd3 /graphics/imlib2 | |
parent | 3166242519b0fc8814771aa15e5396878677c1d9 (diff) | |
download | freebsd-ports-gnome-e5dfcc056e35f97a47abb85ed4a41fe266673197.tar.gz freebsd-ports-gnome-e5dfcc056e35f97a47abb85ed4a41fe266673197.tar.zst freebsd-ports-gnome-e5dfcc056e35f97a47abb85ed4a41fe266673197.zip |
Update graphics/imlib2 and imlib2_loaders to 1.4.6; use staging;
update options and dependencies; add LICENSEs
Diffstat (limited to 'graphics/imlib2')
-rw-r--r-- | graphics/imlib2/Makefile | 29 | ||||
-rw-r--r-- | graphics/imlib2/distinfo | 4 | ||||
-rw-r--r-- | graphics/imlib2/files/patch-imlib2-config.in | 16 | ||||
-rw-r--r-- | graphics/imlib2/files/patch-imlib2.pc.in | 9 |
4 files changed, 28 insertions, 30 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile index f9ac96ab591a..993fd5eb2270 100644 --- a/graphics/imlib2/Makefile +++ b/graphics/imlib2/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= imlib2 -PORTVERSION= 1.4.5 -PORTREVISION= 2 +PORTVERSION= 1.4.6 PORTEPOCH= 2 CATEGORIES= graphics enlightenment MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -12,20 +11,28 @@ MASTER_SITE_SUBDIR= enlightenment/imlib2-src/${PORTVERSION} MAINTAINER= bf@FreeBSD.org COMMENT= The next generation graphics library for Enlightenment -LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 +LICENSE= imlib2 +LICENSE_NAME= imlib2 license +LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_PERMS= auto-accept + +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 GNU_CONFIGURE= yes USE_BZIP2= yes -USES= pathfix pkgconfig USE_EFL= libtool_hack +USE_LDCONFIG= yes +USES= pathfix pkgconfig + +CONFIGURE_ARGS+= --enable-visibility-hiding +CONFIGURE_ENV+= ac_cv_lib_dl_dlopen=no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -USE_LDCONFIG= yes +MAKE_ENV+= INSTALL_STRIP_FLAG="${STRIP}" OPTIONS_DEFINE= JPEG PNG TIFF GIF ID3 X11 OPTIONS_DEFAULT= JPEG PNG TIFF GIF ID3 X11 -NO_STAGE= yes .include <bsd.port.options.mk> .if ${ARCH} == "i386" && !empty(MACHINE_CPU:Mmmx) @@ -49,7 +56,7 @@ PLIST_SUB= X11="" .endif .if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg PLIST_SUB+= JPEG="" .else CONFIGURE_ARGS+= --without-jpeg @@ -57,7 +64,7 @@ PLIST_SUB+= JPEG="@comment " .endif .if ${PORT_OPTIONS:MPNG} -LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png PLIST_SUB+= PNG="" .else CONFIGURE_ARGS+= --without-png @@ -65,7 +72,7 @@ PLIST_SUB+= PNG="@comment " .endif .if ${PORT_OPTIONS:MTIFF} -LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff +LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff PLIST_SUB+= TIFF="" .else CONFIGURE_ARGS+= --without-tiff @@ -73,7 +80,7 @@ PLIST_SUB+= TIFF="@comment " .endif .if ${PORT_OPTIONS:MGIF} -LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib +LIB_DEPENDS+= libgif.so:${PORTSDIR}/graphics/giflib PLIST_SUB+= GIF="" .else CONFIGURE_ARGS+= --without-gif @@ -81,7 +88,7 @@ PLIST_SUB+= GIF="@comment " .endif .if ${PORT_OPTIONS:MID3} -LIB_DEPENDS+= id3tag.0:${PORTSDIR}/audio/libid3tag +LIB_DEPENDS+= libid3tag.so:${PORTSDIR}/audio/libid3tag PLIST_SUB+= ID3="" .else CONFIGURE_ARGS+= --without-id3 diff --git a/graphics/imlib2/distinfo b/graphics/imlib2/distinfo index 8e03d915329c..837fddf62a91 100644 --- a/graphics/imlib2/distinfo +++ b/graphics/imlib2/distinfo @@ -1,2 +1,2 @@ -SHA256 (imlib2-1.4.5.tar.bz2) = 24700d93931838d2149cc2b4b58b9355cc81ec11d297f101a98dbb8d1c5c945a -SIZE (imlib2-1.4.5.tar.bz2) = 895624 +SHA256 (imlib2-1.4.6.tar.bz2) = af51be727d62cfcff7457c753f355e44848fb997f33a7e1d43775276a9073274 +SIZE (imlib2-1.4.6.tar.bz2) = 872717 diff --git a/graphics/imlib2/files/patch-imlib2-config.in b/graphics/imlib2/files/patch-imlib2-config.in index 25215305bfaf..183d72c7ad22 100644 --- a/graphics/imlib2/files/patch-imlib2-config.in +++ b/graphics/imlib2/files/patch-imlib2-config.in @@ -1,11 +1,11 @@ ---- imlib2-config.in.orig Sun Jul 3 07:35:44 2005 -+++ imlib2-config.in Sun Jul 3 07:36:02 2005 -@@ -42,7 +42,7 @@ - if test @includedir@ != /usr/include ; then - includes=-I@includedir@ - fi -- echo $includes -+ echo $includes @my_includes@ +--- imlib2-config.in.orig 2014-02-06 19:05:15.000000000 -0500 ++++ imlib2-config.in 2014-02-06 19:05:35.000000000 -0500 +@@ -46,7 +46,7 @@ ;; --libs) libdirs=-L@libdir@ +- echo $libdirs -lImlib2 @my_libs@ ++ echo $libdirs -lImlib2 + ;; + *) + echo "${usage}" 1>&2 diff --git a/graphics/imlib2/files/patch-imlib2.pc.in b/graphics/imlib2/files/patch-imlib2.pc.in deleted file mode 100644 index e32e118568ad..000000000000 --- a/graphics/imlib2/files/patch-imlib2.pc.in +++ /dev/null @@ -1,9 +0,0 @@ ---- imlib2.pc.in.orig Mon Feb 26 02:38:45 2007 -+++ imlib2.pc.in Mon Feb 26 02:38:57 2007 -@@ -8,5 +8,5 @@ - Requires: @requirements@ - Version: @VERSION@ - Libs: -L${libdir} -lImlib2 --Cflags: -I${includedir} -+Cflags: -I${includedir} @my_includes@ - |