aboutsummaryrefslogtreecommitdiff
path: root/audio/guspat
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-10 23:40:37 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-10 23:40:37 +0000
commit0f24bf17a53e2968f05411e20941526d374761fd (patch)
tree9718026000795ce87e17ca3ace6cc6c449b27c7f /audio/guspat
parent1e482be6394e32ef5fb9cf54076678c526af768e (diff)
downloadports-0f24bf17a53e2968f05411e20941526d374761fd.tar.gz
ports-0f24bf17a53e2968f05411e20941526d374761fd.zip
Notes
Diffstat (limited to 'audio/guspat')
-rw-r--r--audio/guspat/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/guspat/Makefile b/audio/guspat/Makefile
index 094e28764517..690caa075bb0 100644
--- a/audio/guspat/Makefile
+++ b/audio/guspat/Makefile
@@ -14,18 +14,17 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}-required${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Izumo collection of Gravis Ultrasound MIDI patches
-# Not useful without timidity.
-RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++
-
-NO_CDROM= Some of the patches are marked no-commercial-use
-
NO_BUILD= yes
-
-WRKSRC= ${WRKDIR}/timidity
+NO_CDROM= Some of the patches are marked no-commercial-use
PLIST_SUB= TIMIDITY_DATADIR=${TIMIDITY_DATADIR}
+WRKSRC= ${WRKDIR}/timidity
TIMIDITY_DATADIR= share/timidity
+post-patch:
+ @${REINPLACE_CMD} -e 's|/timidity|/guspat|g' ${WRKSRC}/timidity.cfg
+ @${RM} ${WRKSRC}/timidity.cfg.bak
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}