Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 18:53:04 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342357 - head/graphics/fujiplay
Message-ID:  <201402021853.s12Ir4SG084450@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402021853.s12Ir4SG084450>