diff options
Diffstat (limited to 'graphics/gdk-pixbuf2/Makefile')
-rw-r--r-- | graphics/gdk-pixbuf2/Makefile | 57 |
1 files changed, 16 insertions, 41 deletions
diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile index 379e335e624e..31950e52d0f6 100644 --- a/graphics/gdk-pixbuf2/Makefile +++ b/graphics/gdk-pixbuf2/Makefile @@ -1,10 +1,9 @@ # Created by: Ade Lovett <ade@lovett.com> # $FreeBSD$ -# $MCom: ports/trunk/graphics/gdk-pixbuf2/Makefile 18692 2013-09-22 00:45:30Z kwm $ +# $MCom: ports/trunk/graphics/gdk-pixbuf2/Makefile 20031 2014-11-02 21:47:55Z kwm $ PORTNAME= gdk-pixbuf -PORTVERSION= 2.28.2 -PORTREVISION= 1 +PORTVERSION= 2.31.1 CATEGORIES= graphics MASTER_SITES= GNOME PKGNAMESUFFIX= 2 @@ -14,16 +13,26 @@ MAINTAINER= gnome@FreeBSD.org COMMENT= Graphic library for GTK+ USE_XORG= xt xi x11 -USES= gmake libtool:keepla pathfix pkgconfig tar:xz -USE_GNOME+= gnomehier glib20 introspection:build +USES= gmake libtool pathfix pkgconfig tar:xz +USE_GNOME+= glib20 introspection:build USE_LDCONFIG= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-introspection=yes --with-x11 +INSTALL_TARGET= install-strip +OPTIONS_SUB= yes OPTIONS_DEFINE= JASPER JPEG PNG TIFF OPTIONS_DEFAULT=JASPER JPEG PNG TIFF +JASPER_CONFIGURE_WITH= libjasper +JASPER_LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper +JPEG_CONFIGURE_WITPNGH= libjpeg +JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg +PNG_CONFIGURE_WITH= libpng +PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png +TIFF_CONFIGURE_WITH= libtiff +TIFF_LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff .include <bsd.port.options.mk> @@ -35,41 +44,7 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -.if ${PORT_OPTIONS:MJASPER} -LIB_DEPENDS+= libjasper.so:${PORTSDIR}/graphics/jasper -CONFIGURE_ARGS+=--with-libjasper -PLIST_SUB+= JP2="" -.else -PLIST_SUB+= JP2="@comment " -.endif - -.if ${PORT_OPTIONS:MJPEG} -LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg -PLIST_SUB+= JPEG="" -.else -CONFIGURE_ARGS+=--without-libjpeg -PLIST_SUB+= JPEG="@comment " -.endif - -.if ${PORT_OPTIONS:MPNG} -LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png -PLIST_SUB+= PNG="" -.else -CONFIGURE_ARGS+=--without-libpng -PLIST_SUB+= PNG="@comment " -.endif - -.if ${PORT_OPTIONS:MTIFF} -LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff -PLIST_SUB+= TIFF="" -.else -CONFIGURE_ARGS+=--without-libtiff -PLIST_SUB+= TIFF="@comment " -.endif - post-install: - @cd ${WRKSRC}/docs/reference/gdk-pixbuf && env DESTDIR=${STAGEDIR} ${MAKE_CMD} install-man1 - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdk_pixbuf*-2.0.so.0 - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gdk-pixbuf-2.0/${GTK2_VERSION}/loaders/lib*.so + @cd ${WRKSRC}/docs/reference/gdk-pixbuf && env DESTDIR=${STAGEDIR} ${GMAKE} install-man1 .include <bsd.port.mk> |