svn commit: r331847 - head/graphics/recoverjpeg

Emanuel Haupt ehaupt at FreeBSD.org
Mon Oct 28 12:24:49 UTC 2013


Author: ehaupt
Date: Mon Oct 28 12:24:48 2013
New Revision: 331847
URL: http://svnweb.freebsd.org/changeset/ports/331847

Log:
  Support staging.

Modified:
  head/graphics/recoverjpeg/Makefile

Modified: head/graphics/recoverjpeg/Makefile
==============================================================================
--- head/graphics/recoverjpeg/Makefile	Mon Oct 28 12:18:37 2013	(r331846)
+++ head/graphics/recoverjpeg/Makefile	Mon Oct 28 12:24:48 2013	(r331847)
@@ -12,34 +12,32 @@ COMMENT=	Recoverjpeg tries to recover JF
 LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-MANCOMPRESSED=	no
 
-PLIST_FILES=	bin/recoverjpeg
 MAN1=		recoverjpeg.1
+PLIST_FILES=	bin/recoverjpeg man/man1/recoverjpeg.1.gz
 
 # recoverjpeg scripts require many dependencies
 OPTIONS_DEFINE=	SSCRIPTS
 SSCRIPTS_DESC=	Install sort-pictures script
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if  ${PORT_OPTIONS:MSSCRIPTS}
 RUN_DEPENDS=	exif:${PORTSDIR}/graphics/exif \
 		identify:${PORTSDIR}/graphics/ImageMagick
-PLIST_FILES+=	bin/sort-pictures
+PLIST_FILES+=	bin/sort-pictures man/man1/sort-pictures.1.gz
 MAN1+=		sort-pictures.1
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 .if ${PORT_OPTIONS:MSSCRIPTS}
 .for f in sort-pictures
-	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .endif
 .for f in ${MAN1}
-	${INSTALL_MAN} ${WRKSRC}/${f} ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MANPREFIX}/man/man1
 .endfor
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list