From de818b46a3d9e2cd9d4d3c0354a62e5e1d999a78 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Thu, 10 Sep 2015 14:55:05 +0000 Subject: - Switch to options helpers - Move message to pkg-message --- audio/tuxguitar/Makefile | 19 +++++-------------- audio/tuxguitar/files/pkg-message.in | 7 +++++++ 2 files changed, 12 insertions(+), 14 deletions(-) create mode 100644 audio/tuxguitar/files/pkg-message.in 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 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 + +.include 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. + -- cgit v1.1