svn commit: r339297 - head/graphics/tifmerge

Antoine Brodin antoine at FreeBSD.org
Thu Jan 9 22:49:45 UTC 2014


Author: antoine
Date: Thu Jan  9 22:49:44 2014
New Revision: 339297
URL: http://svnweb.freebsd.org/changeset/ports/339297

Log:
  - Stage support
  - Get rid of infozip dependency

Modified:
  head/graphics/tifmerge/Makefile

Modified: head/graphics/tifmerge/Makefile
==============================================================================
--- head/graphics/tifmerge/Makefile	Thu Jan  9 22:41:10 2014	(r339296)
+++ head/graphics/tifmerge/Makefile	Thu Jan  9 22:49:44 2014	(r339297)
@@ -7,6 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.whizkidtech.redprince.net/fports/
 DISTNAME=	tiff
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Library to merge TIFF files into multi-page TIFF files
@@ -14,18 +15,15 @@ COMMENT=	Library to merge TIFF files int
 USES=		dos2unix
 DOS2UNIX_GLOB=	*.[ch]
 USE_LDCONFIG=	yes
-USE_ZIP=	yes
 NO_WRKSUBDIR=	yes
 DIST_SUBDIR=	tifmerge
 
 PLIST_FILES=	lib/libtifmerge.a \
-				include/tifmerge.h \
-				lib/libtifmerge.so \
-				lib/libtifmerge.so.1
+		include/tifmerge.h \
+		lib/libtifmerge.so \
+		lib/libtifmerge.so.1 \
+		man/man3/tifmerge.3.gz
 
-MAN3=		tifmerge.3
-
-NO_STAGE=	yes
 post-extract:
 	@${MV} ${WRKSRC}/TIFMERGE.H ${WRKSRC}/tifmerge.h
 	@${MV} ${WRKSRC}/TIFMERGE.C ${WRKSRC}/tifmerge.c
@@ -34,10 +32,10 @@ post-extract:
 		${WRKSRC}/tifmerge.3
 
 do-install:
-	${INSTALL_LIB} ${WRKSRC}/libtifmerge.so.1 ${PREFIX}/lib
-	${LN} -fs ${PREFIX}/lib/libtifmerge.so.1 ${PREFIX}/lib/libtifmerge.so
-	${INSTALL_DATA} ${WRKSRC}/libtifmerge.a ${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/tifmerge.h ${PREFIX}/include
-	${INSTALL_MAN} ${WRKSRC}/tifmerge.3 ${MAN3PREFIX}/man/man3
+	${INSTALL_LIB} ${WRKSRC}/libtifmerge.so.1 ${STAGEDIR}${PREFIX}/lib
+	${LN} -fs libtifmerge.so.1 ${STAGEDIR}${PREFIX}/lib/libtifmerge.so
+	${INSTALL_DATA} ${WRKSRC}/libtifmerge.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/tifmerge.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_MAN} ${WRKSRC}/tifmerge.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list