aboutsummaryrefslogtreecommitdiff
path: root/graphics/fujiplay
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-02-02 18:53:04 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-02-02 18:53:04 +0000
commit935ad50142470f1046aff4ce52b36bde206304b7 (patch)
tree8e14a80cc000cf8becc6ce92ebea7c9bb4c0407a /graphics/fujiplay
parent3886cf15d65aab2611962e6bc9a2e6a30c2424db (diff)
downloadports-935ad50142470f1046aff4ce52b36bde206304b7.tar.gz
ports-935ad50142470f1046aff4ce52b36bde206304b7.zip
Notes
Diffstat (limited to 'graphics/fujiplay')
-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>