aboutsummaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf2
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-11-01 12:19:48 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-11-01 12:19:48 +0000
commit158038a2c9199b77f78a4c3f8c4ecd75e9cfad11 (patch)
tree321edf0abbb930f1ba7563dfe53f16828aa7e05c /graphics/gdk-pixbuf2
parenta8441e5f6a1c21a096376b0164beadddc4a74b35 (diff)
downloadports-158038a2c9199b77f78a4c3f8c4ecd75e9cfad11.tar.gz
ports-158038a2c9199b77f78a4c3f8c4ecd75e9cfad11.zip
Stageify and use new lib_depends syntax.
Notes
Notes: svn path=/head/; revision=332360
Diffstat (limited to 'graphics/gdk-pixbuf2')
-rw-r--r--graphics/gdk-pixbuf2/Makefile18
-rw-r--r--graphics/gdk-pixbuf2/pkg-plist2
2 files changed, 10 insertions, 10 deletions
diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile
index d575c0904720..de9ff009cf29 100644
--- a/graphics/gdk-pixbuf2/Makefile
+++ b/graphics/gdk-pixbuf2/Makefile
@@ -1,6 +1,6 @@
# Created by: Ade Lovett <ade@lovett.com>
# $FreeBSD$
-# $MCom: ports/trunk/graphics/gdk-pixbuf2/Makefile 18634 2013-07-26 10:42:35Z kwm $
+# $MCom: ports/trunk/graphics/gdk-pixbuf2/Makefile 18692 2013-09-22 00:45:30Z kwm $
PORTNAME= gdk-pixbuf
PORTVERSION= 2.28.2
@@ -12,7 +12,6 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Graphic library for GTK+
-LATEST_LINK= gdk-pixbuf2
USE_XZ= yes
USE_XORG= xt xi x11
USE_AUTOTOOLS= libtool
@@ -24,12 +23,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-introspection=yes --with-x11
-MAN1= gdk-pixbuf-csource.1 gdk-pixbuf-query-loaders.1
-
OPTIONS_DEFINE= JASPER JPEG PNG TIFF
OPTIONS_DEFAULT=JASPER JPEG PNG TIFF
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -41,7 +37,7 @@ PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MJASPER}
-LIB_DEPENDS+= jasper:${PORTSDIR}/graphics/jasper
+LIB_DEPENDS+= libjasper.so:${PORTSDIR}/graphics/jasper
CONFIGURE_ARGS+=--with-libjasper
PLIST_SUB+= JP2=""
.else
@@ -49,7 +45,7 @@ PLIST_SUB+= JP2="@comment "
.endif
.if ${PORT_OPTIONS:MJPEG}
-LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg
PLIST_SUB+= JPEG=""
.else
CONFIGURE_ARGS+=--without-libjpeg
@@ -57,7 +53,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-libpng
@@ -65,7 +61,7 @@ PLIST_SUB+= PNG="@comment "
.endif
.if ${PORT_OPTIONS:MTIFF}
-LIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff
PLIST_SUB+= TIFF=""
.else
CONFIGURE_ARGS+=--without-libtiff
@@ -73,6 +69,8 @@ PLIST_SUB+= TIFF="@comment "
.endif
post-install:
- @cd ${WRKSRC}/docs/reference/gdk-pixbuf && ${GMAKE} install-man1
+ @cd ${WRKSRC}/docs/reference/gdk-pixbuf && env DESTDIR=${STAGEDIR} ${GMAKE} 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
.include <bsd.port.mk>
diff --git a/graphics/gdk-pixbuf2/pkg-plist b/graphics/gdk-pixbuf2/pkg-plist
index a9eec0e893dc..d8ab77a45667 100644
--- a/graphics/gdk-pixbuf2/pkg-plist
+++ b/graphics/gdk-pixbuf2/pkg-plist
@@ -76,6 +76,8 @@ lib/libgdk_pixbuf_xlib-2.0.so
lib/libgdk_pixbuf_xlib-2.0.so.0
libdata/pkgconfig/gdk-pixbuf-2.0.pc
libdata/pkgconfig/gdk-pixbuf-xlib-2.0.pc
+man/man1/gdk-pixbuf-csource.1.gz
+man/man1/gdk-pixbuf-query-loaders.1.gz
share/gir-1.0/GdkPixbuf-2.0.gir
%%NLS%%share/locale/af/LC_MESSAGES/gdk-pixbuf.mo
%%NLS%%share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo