svn commit: r334919 - head/graphics/png

Dirk Meyer dinoex at FreeBSD.org
Tue Nov 26 06:16:58 UTC 2013


Author: dinoex
Date: Tue Nov 26 06:16:57 2013
New Revision: 334919
URL: http://svnweb.freebsd.org/changeset/ports/334919

Log:
  - use STAGEDIR

Modified:
  head/graphics/png/Makefile
  head/graphics/png/pkg-plist

Modified: head/graphics/png/Makefile
==============================================================================
--- head/graphics/png/Makefile	Tue Nov 26 06:05:19 2013	(r334918)
+++ head/graphics/png/Makefile	Tue Nov 26 06:16:57 2013	(r334919)
@@ -12,7 +12,6 @@ MAINTAINER=	dinoex at FreeBSD.org
 COMMENT=	Library for manipulating PNG images
 
 PORTSCOUT=	limit:^1\.5\.
-NO_STAGE=	yes
 
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
@@ -22,9 +21,6 @@ USE_LDCONFIG=	yes
 CMAKE_ARGS+=	-DPNG_MAN_DIR:STRING=man
 SOSUFFIX=	.${PORTVERSION:E}
 
-MAN3=		libpng.3 libpngpf.3
-MAN5=		png.5
-
 OPTIONS_DEFINE=APNG
 OPTIONS_DEFAULT=APNG
 APNG_DESC=Enable Animated PNG support
@@ -62,18 +58,18 @@ post-build:
         ${FALSE}; \
         fi)
 
-pre-su-install:
-	@${MKDIR} ${PREFIX}/include/libpng
-	@${MKDIR} ${PREFIX}/libdata/pkgconfig
+pre-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/libpng
+	${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/pngdebug.h ${WRKSRC}/pnginfo.h \
 		${WRKSRC}/pngpriv.h ${WRKSRC}/pngstruct.h \
-		${PREFIX}/include/libpng15/
-	-${RMDIR} ${PREFIX}/include/libpng
-	${RM} ${PREFIX}/libdata/pkgconfig/libpng.pc
-	${LN} -sf libpng15.pc ${PREFIX}/libdata/pkgconfig/libpng.pc
-	${RM} ${PREFIX}/lib/libpng15.so.15
-	${MV} ${PREFIX}/lib/libpng15.so.15${SOSUFFIX} ${PREFIX}/lib/libpng15.so.15
+		${STAGEDIR}${PREFIX}/include/libpng15/
+	-${RMDIR} ${STAGEDIR}${PREFIX}/include/libpng
+	${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libpng.pc
+	${LN} -sf libpng15.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libpng.pc
+	${RM} ${STAGEDIR}${PREFIX}/lib/libpng15.so.15
+	${MV} ${STAGEDIR}${PREFIX}/lib/libpng15.so.15${SOSUFFIX} ${STAGEDIR}${PREFIX}/lib/libpng15.so.15
 
 .include <bsd.port.mk>

Modified: head/graphics/png/pkg-plist
==============================================================================
--- head/graphics/png/pkg-plist	Tue Nov 26 06:05:19 2013	(r334918)
+++ head/graphics/png/pkg-plist	Tue Nov 26 06:16:57 2013	(r334919)
@@ -19,5 +19,8 @@ lib/libpng/libpng15.cmake
 lib/libpng15.a
 lib/libpng15.so
 lib/libpng15.so.15
+man/man3/libpng.3.gz
+man/man3/libpngpf.3.gz
+man/man5/png.5.gz
 @dirrm lib/libpng
 @dirrm include/libpng15


More information about the svn-ports-all mailing list