aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-17 01:34:03 +0800
committerantoine <antoine@FreeBSD.org>2014-01-17 01:34:03 +0800
commitf6ebdd71a76db0ec69ef8ea4a7a50c8dc7c39075 (patch)
tree02428ab5015b51adc7135541ebb8ea61114e36bd /audio
parent8add7b66535a8e59e58c97285a7a412b012367fd (diff)
downloadfreebsd-ports-gnome-f6ebdd71a76db0ec69ef8ea4a7a50c8dc7c39075.tar.gz
freebsd-ports-gnome-f6ebdd71a76db0ec69ef8ea4a7a50c8dc7c39075.tar.zst
freebsd-ports-gnome-f6ebdd71a76db0ec69ef8ea4a7a50c8dc7c39075.zip
Stage support
Diffstat (limited to 'audio')
-rw-r--r--audio/eawplus/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/audio/eawplus/Makefile b/audio/eawplus/Makefile
index 7dbd42076d58..934c19632346 100644
--- a/audio/eawplus/Makefile
+++ b/audio/eawplus/Makefile
@@ -16,14 +16,13 @@ RUN_DEPENDS= ${LOCALBASE}/share/eawpats/acbass.pat:${PORTSDIR}/audio/eawpats \
${LOCALBASE}/share/guspat/inst/GUS/acbass.pat:${PORTSDIR}/audio/guspat
NO_CDROM= Some of the patches are marked no-commercial-use
-NO_STAGE= yes
NO_WRKSUBDIR= yes
TIMIDITY_DATADIR= share/timidity
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-extract:
@${RM} -f ${WRKSRC}/timidity/inst/GUS/power/h-hihatp.pat.orig
@@ -35,14 +34,12 @@ do-build:
${FILESDIR}/timidity.cfg > ${WRKDIR}/timidity.cfg
do-install:
- @${MKDIR} ${DATADIR}
- @${CP} -pr ${WRKSRC}/timidity/* ${DATADIR}
- @${MKDIR} ${PREFIX}/${TIMIDITY_DATADIR}
- @${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
- ${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_MAN} ${WRKSRC}/doc/*/*.txt.gz ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${CP} -pr ${WRKSRC}/timidity/* ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}
+ ${INSTALL_DATA} ${WRKDIR}/timidity.cfg \
+ ${STAGEDIR}${PREFIX}/${TIMIDITY_DATADIR}/timidity.cfg-eawplus
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*/*.txt.gz ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>