aboutsummaryrefslogtreecommitdiff
path: root/audio/cymbaline
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:26:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:26:06 +0000
commit49bf36d52771ccccdeacb84f6e4f3406a8814618 (patch)
treebc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/cymbaline
parent0b5b09713e8ecc1ea80101553be41f5e7f4fbd2a (diff)
downloadports-49bf36d52771ccccdeacb84f6e4f3406a8814618.tar.gz
ports-49bf36d52771ccccdeacb84f6e4f3406a8814618.zip
Notes
Diffstat (limited to 'audio/cymbaline')
-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