svn commit: r342357 - head/graphics/fujiplay

Antoine Brodin antoine at FreeBSD.org
Sun Feb 2 18:53:04 UTC 2014


Author: antoine
Date: Sun Feb  2 18:53:04 2014
New Revision: 342357
URL: http://svnweb.freebsd.org/changeset/ports/342357
QAT: https://qat.redports.org/buildarchive/r342357/

Log:
  Stage support

Modified:
  head/graphics/fujiplay/Makefile

Modified: head/graphics/fujiplay/Makefile
==============================================================================
--- head/graphics/fujiplay/Makefile	Sun Feb  2 18:49:14 2014	(r342356)
+++ head/graphics/fujiplay/Makefile	Sun Feb  2 18:53:04 2014	(r342357)
@@ -17,17 +17,16 @@ NO_WRKSUBDIR=	yes
 PLIST_FILES=	bin/fujiplay bin/yycc2ppm
 PORTDOCS=	README fujiplay.lsm mx700-commands.html
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's/^\(CC[^g]*\)gcc$$/\1${CC}/' ${WRKSRC}/Makefile
 
 do-install:
-	(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/fujiplay
+	(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${STAGEDIR}${PREFIX}/bin)
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/fujiplay
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/share/doc/fujiplay
+	${INSTALL_DATA} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/share/doc/fujiplay
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list