diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-10 22:55:05 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-09-10 22:55:05 +0800 |
commit | fcc10635b106cdc21b437c9036e6b3a97cfe5d55 (patch) | |
tree | a83e0914598946f07355ca97b0e645f418ae9a11 | |
parent | 0e53c6f865ba22c7e508361dc45375638a35af9e (diff) | |
download | freebsd-ports-gnome-fcc10635b106cdc21b437c9036e6b3a97cfe5d55.tar.gz freebsd-ports-gnome-fcc10635b106cdc21b437c9036e6b3a97cfe5d55.tar.zst freebsd-ports-gnome-fcc10635b106cdc21b437c9036e6b3a97cfe5d55.zip |
- Switch to options helpers
- Move message to pkg-message
-rw-r--r-- | audio/tuxguitar/Makefile | 19 | ||||
-rw-r--r-- | audio/tuxguitar/files/pkg-message.in | 7 |
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. + |