- Switch to options helpers

- Move message to pkg-message
This commit is contained in:
Dmitry Marakasov 2015-09-10 14:55:05 +00:00
parent fe4b1c8486
commit a60b969a95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396573
2 changed files with 11 additions and 13 deletions

View file

@ -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>

View file

@ -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.