aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2014-01-30 06:44:36 +0800
committernox <nox@FreeBSD.org>2014-01-30 06:44:36 +0800
commitf09071294d2041eb055a4ff2044353695e32d1bc (patch)
tree295a25135e49d5abfa19d2da9adcde6db62689a7 /multimedia
parentaa26c78c28bfe454b38a504f13b6e35da3960a2a (diff)
downloadfreebsd-ports-gnome-f09071294d2041eb055a4ff2044353695e32d1bc.tar.gz
freebsd-ports-gnome-f09071294d2041eb055a4ff2044353695e32d1bc.tar.zst
freebsd-ports-gnome-f09071294d2041eb055a4ff2044353695e32d1bc.zip
- Actually finish the stagification.
- Rewrite NOPORTDOCS.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/szap-s2/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/szap-s2/Makefile b/multimedia/szap-s2/Makefile
index 4a7826f4699a..fcbc404234a4 100644
--- a/multimedia/szap-s2/Makefile
+++ b/multimedia/szap-s2/Makefile
@@ -22,13 +22,14 @@ MAKE_ARGS+= CXX=${CXX}
WRKSRC= ${WRKDIR}/szap-s2-e34f73b254db
PORTDOCS= README
PLIST_FILES= bin/szap-s2
-NO_STAGE= yes
+
+.include <bsd.port.options.mk>
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} szap-s2 ${STAGEDIR}/${PREFIX}/bin)
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk>