summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-10 14:55:05 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-10 14:55:05 +0000
commitde818b46a3d9e2cd9d4d3c0354a62e5e1d999a78 (patch)
treea83e0914598946f07355ca97b0e645f418ae9a11
parent1eeea7f56c9013328ffaf6fa330e51627ece8467 (diff)
downloadFreeBSD-ports-de818b46a3d9e2cd9d4d3c0354a62e5e1d999a78.zip
FreeBSD-ports-de818b46a3d9e2cd9d4d3c0354a62e5e1d999a78.tar.gz
- Switch to options helpers
- Move message to pkg-message
-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 a86df71..57cea5d 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 0000000..746d116
--- /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.
+
OpenPOWER on IntegriCloud