aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cymbaline/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cymbaline/Makefile')
-rw-r--r--audio/cymbaline/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/cymbaline/Makefile b/audio/cymbaline/Makefile
index e74acc816c48..cf0af30bf806 100644
--- a/audio/cymbaline/Makefile
+++ b/audio/cymbaline/Makefile
@@ -16,19 +16,21 @@ NO_STAGE= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-.if !defined(NOPORTDOCS)
+PLIST_FILES= bin/cymbaline
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
-PLIST_FILES= bin/cymbaline
-
post-install:
@${MV} -f ${PREFIX}/bin/cymbaline.py ${PREFIX}/bin/cymbaline
@${FIND} ${PYTHON_SITELIBDIR}/cypack ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/cypack -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif