aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-03 02:53:04 +0800
committerantoine <antoine@FreeBSD.org>2014-02-03 02:53:04 +0800
commitf7cd388f0415d2d61f1e853f7ea6a30d85f90fce (patch)
tree8e14a80cc000cf8becc6ce92ebea7c9bb4c0407a /graphics
parentaf3c723080ff200090baab61552de67e83cedf71 (diff)
downloadfreebsd-ports-gnome-f7cd388f0415d2d61f1e853f7ea6a30d85f90fce.tar.gz
freebsd-ports-gnome-f7cd388f0415d2d61f1e853f7ea6a30d85f90fce.tar.zst
freebsd-ports-gnome-f7cd388f0415d2d61f1e853f7ea6a30d85f90fce.zip
Stage support
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fujiplay/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/graphics/fujiplay/Makefile b/graphics/fujiplay/Makefile
index 35332baa55e8..e03f233db296 100644
--- a/graphics/fujiplay/Makefile
+++ b/graphics/fujiplay/Makefile
@@ -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>