summaryrefslogtreecommitdiffstats
path: root/audio/spiralsynth/Makefile
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committermat <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitdf89b8efc8508ebed07f6e8f0a805a93eee0af58 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/spiralsynth/Makefile
parent4a1eea8e721008727b250a284a4ad8137f9bef91 (diff)
downloadFreeBSD-ports-df89b8efc8508ebed07f6e8f0a805a93eee0af58.zip
FreeBSD-ports-df89b8efc8508ebed07f6e8f0a805a93eee0af58.tar.gz
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'audio/spiralsynth/Makefile')
-rw-r--r--audio/spiralsynth/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile
index d6c31c7..db5c776 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>
OpenPOWER on IntegriCloud