aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-01-04 23:04:31 +0800
committerache <ache@FreeBSD.org>1999-01-04 23:04:31 +0800
commitd4b4c85cc64c32106eed3be22eb29194ab5d120e (patch)
tree3d985f42b0ed1c998cb5f504f7d08179e35e076c /audio
parentd3e376a8509b64c7c373570020f316c39bb99904 (diff)
downloadfreebsd-ports-gnome-d4b4c85cc64c32106eed3be22eb29194ab5d120e.tar.gz
freebsd-ports-gnome-d4b4c85cc64c32106eed3be22eb29194ab5d120e.tar.zst
freebsd-ports-gnome-d4b4c85cc64c32106eed3be22eb29194ab5d120e.zip
fix cfg file after install
Diffstat (limited to 'audio')
-rw-r--r--audio/timidity++/Makefile7
-rw-r--r--audio/timidity/Makefile7
2 files changed, 12 insertions, 2 deletions
diff --git a/audio/timidity++/Makefile b/audio/timidity++/Makefile
index fdc8e310a874..37166203ca49 100644
--- a/audio/timidity++/Makefile
+++ b/audio/timidity++/Makefile
@@ -24,6 +24,11 @@ MAN1= timidity.1
post-install:
cd ${PREFIX}/lib/timidity && \
- tar zxf ${DISTDIR}/${TIINS}
+ tar zxf ${DISTDIR}/${TIINS} && \
+ cp goemon.cfg goemon.cfg.bak && \
+ sed 's=dir goemon=dir ${PREFIX}/lib/timidity/goemon=' \
+ < goemon.cfg.bak > goemon.cfg && \
+ rm goemon.cfg.bak
+
.include <bsd.port.mk>
diff --git a/audio/timidity/Makefile b/audio/timidity/Makefile
index fdc8e310a874..37166203ca49 100644
--- a/audio/timidity/Makefile
+++ b/audio/timidity/Makefile
@@ -24,6 +24,11 @@ MAN1= timidity.1
post-install:
cd ${PREFIX}/lib/timidity && \
- tar zxf ${DISTDIR}/${TIINS}
+ tar zxf ${DISTDIR}/${TIINS} && \
+ cp goemon.cfg goemon.cfg.bak && \
+ sed 's=dir goemon=dir ${PREFIX}/lib/timidity/goemon=' \
+ < goemon.cfg.bak > goemon.cfg && \
+ rm goemon.cfg.bak
+
.include <bsd.port.mk>