summaryrefslogtreecommitdiffstats
path: root/graphics/gdk-pixbuf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gdk-pixbuf/Makefile')
-rw-r--r--graphics/gdk-pixbuf/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
index 0bcec85..461e9ee 100644
--- a/graphics/gdk-pixbuf/Makefile
+++ b/graphics/gdk-pixbuf/Makefile
@@ -5,25 +5,34 @@
# $FreeBSD$
#
-PORTNAME= gdk-pixbuf
+PORTNAME?= gdk-pixbuf
PORTVERSION= 0.11.0
-CATEGORIES= graphics gnome
+PORTREVISION= 1
+CATEGORIES?= graphics
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/gdk-pixbuf
+DISTNAME= gdk-pixbuf-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
+LIB_DEPENDS+= png.4:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff \
+ jpeg.9:${PORTSDIR}/graphics/jpeg
+
USE_GMAKE= yes
USE_X_PREFIX= yes
-USE_GNOMELIBS= yes
USE_LIBTOOL= yes
+USE_GTK= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LIBS="-L${LOCALBASE}/lib" \
+ BUILD_CANVAS="${BUILD_CANVAS}"
+
+BUILD_CANVAS?= no
pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
- s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g'
+ 's|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud