aboutsummaryrefslogtreecommitdiff
path: root/audio/spiralsynth
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/spiralsynth
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'audio/spiralsynth')
-rw-r--r--audio/spiralsynth/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile
index d6c31c7eb691..db5c776e6472 100644
--- a/audio/spiralsynth/Makefile
+++ b/audio/spiralsynth/Makefile
@@ -23,8 +23,6 @@ DOC_FILES= CHANGES COPYING README
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
.for ii in \
Makefile.in \
@@ -70,11 +68,10 @@ pre-install:
.else
${ECHO_CMD} bin/SpiralSynth > ${PLIST}
.endif
-.if ${PORT_OPTIONS:MDOCS}
+pre-install-DOCS-on:
.for ii in ${DOC_FILES}
${ECHO_CMD} share/doc/spiralsynth/${ii} >> ${PLIST}
.endfor
-.endif
do-install:
.if defined(PLUGIN)
@@ -83,11 +80,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${STAGEDIR}${PREFIX}/bin
.endif
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for ii in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${ii} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>