aboutsummaryrefslogtreecommitdiff
path: root/audio/tuxguitar
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-10 14:55:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-10 14:55:05 +0000
commita60b969a95e8f17cda419653fe52aa8826ea35ae (patch)
treea83e0914598946f07355ca97b0e645f418ae9a11 /audio/tuxguitar
parentfe4b1c8486a35759d529c4b13cfba50baebf39b6 (diff)
downloadports-a60b969a95e8f17cda419653fe52aa8826ea35ae.tar.gz
ports-a60b969a95e8f17cda419653fe52aa8826ea35ae.zip
- Switch to options helpers
- Move message to pkg-message
Notes
Notes: svn path=/head/; revision=396573
Diffstat (limited to 'audio/tuxguitar')
-rw-r--r--audio/tuxguitar/Makefile19
-rw-r--r--audio/tuxguitar/files/pkg-message.in7
2 files changed, 12 insertions, 14 deletions
diff --git a/audio/tuxguitar/Makefile b/audio/tuxguitar/Makefile
index a86df71b5725..57cea5d3a007 100644
--- a/audio/tuxguitar/Makefile
+++ b/audio/tuxguitar/Makefile
@@ -3,7 +3,7 @@
PORTNAME= tuxguitar
PORTVERSION= 1.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= audio java
MASTER_SITES= SF/${PORTNAME}/TuxGuitar/TuxGuitar-${PORTVERSION}:src \
LOCAL/gahr/:fluid \
@@ -43,11 +43,10 @@ WRKSRC_SUBDIR= TuxGuitar
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
PLUGINS= ascii browser-ftp compat converter fluidsynth gervill gtp \
jsa lilypond midi musicxml oss pdf ptb tef tray tuner
-SUB_FILES= tuxguitar
+SUB_FILES= pkg-message tuxguitar
SUB_LIST= DATADIR=${DATADIR} \
PREFIX=${PREFIX} \
JAVALIBDIR=${JAVALIBDIR} \
@@ -115,16 +114,8 @@ do-install:
# MAN page
${INSTALL_MAN} ${WRKSRC}/../misc/tuxguitar.1 ${STAGEDIR}${PREFIX}/man/man1
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
-.endif
- @${ECHO}
- @${ECHO} "SoundFonts for the FluidSynth plugin are available at:"
- @${ECHO} "${DATADIR}/8MBGMSFX.SF2"
- @${ECHO} "Add this path in the FluidSynth plugin configuration to"
- @${ECHO} "enable them."
- @${ECHO}
-
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
diff --git a/audio/tuxguitar/files/pkg-message.in b/audio/tuxguitar/files/pkg-message.in
new file mode 100644
index 000000000000..746d1162386e
--- /dev/null
+++ b/audio/tuxguitar/files/pkg-message.in
@@ -0,0 +1,7 @@
+
+SoundFonts for the FluidSynth plugin are available at:
+
+ %%DATADIR%%/8MBGMSFX.SF2
+
+Add this path in the FluidSynth plugin configuration to enable them.
+