diff options
Diffstat (limited to 'graphics/gdk-pixbuf2/Makefile')
-rw-r--r-- | graphics/gdk-pixbuf2/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile index b63f6bd3d..e392ff402 100644 --- a/graphics/gdk-pixbuf2/Makefile +++ b/graphics/gdk-pixbuf2/Makefile @@ -3,10 +3,10 @@ # Whom: Ade Lovett <ade@lovett.com> # # $FreeBSD$ -# $MCom: ports/graphics/gdk-pixbuf2/Makefile,v 1.15 2011/06/27 21:10:23 kwm Exp $ +# $MCom: ports/graphics/gdk-pixbuf2/Makefile,v 1.17 2011/08/30 21:21:37 kwm Exp $ PORTNAME?= gdk-pixbuf -PORTVERSION= 2.24.0 +PORTVERSION= 2.24.1 CATEGORIES?= graphics MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/gdk-pixbuf/${PORTVERSION:R} @@ -25,21 +25,26 @@ LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \ LATEST_LINK= gdk-pixbuf2 USE_XZ= yes USE_GMAKE= yes -USE_XORG= xt xi x11 USE_AUTOTOOLS= libtool USE_GNOME+= gnomehack glib20 ltverhack USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --enable-introspection=yes --with-libjasper MAN1= gdk-pixbuf-csource.1 gdk-pixbuf-query-loaders.1 -post-patch: - @${REINPLACE_CMD} -e 's|" == "|" = "|g' ${WRKSRC}/configure - post-install: @cd ${WRKSRC}/docs/reference/gdk-pixbuf && gmake install-man1 +.if !defined(WITHOUT_X11) +USE_XORG= xt xi x11 +CONFIGURE_ARGS+=--with-x11 +PLIST_SUB+= XLIB="" +.else +CONFIGURE_ARGS+=--without-x11 +PLIST_SUB+= XLIB="@comment " +.endif + .include <bsd.port.mk> |