svn commit: r332360 - head/graphics/gdk-pixbuf2

Koop Mast kwm at FreeBSD.org
Fri Nov 1 12:19:49 UTC 2013


Author: kwm
Date: Fri Nov  1 12:19:48 2013
New Revision: 332360
URL: http://svnweb.freebsd.org/changeset/ports/332360

Log:
  Stageify and use new lib_depends syntax.

Modified:
  head/graphics/gdk-pixbuf2/Makefile
  head/graphics/gdk-pixbuf2/pkg-plist

Modified: head/graphics/gdk-pixbuf2/Makefile
==============================================================================
--- head/graphics/gdk-pixbuf2/Makefile	Fri Nov  1 12:03:19 2013	(r332359)
+++ head/graphics/gdk-pixbuf2/Makefile	Fri Nov  1 12:19:48 2013	(r332360)
@@ -1,6 +1,6 @@
 # Created by: Ade Lovett <ade at 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 at 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>

Modified: head/graphics/gdk-pixbuf2/pkg-plist
==============================================================================
--- head/graphics/gdk-pixbuf2/pkg-plist	Fri Nov  1 12:03:19 2013	(r332359)
+++ head/graphics/gdk-pixbuf2/pkg-plist	Fri Nov  1 12:19:48 2013	(r332360)
@@ -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


More information about the svn-ports-head mailing list