aboutsummaryrefslogtreecommitdiffstats
path: root/audio/eawpats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-12-15 21:18:10 +0800
committernork <nork@FreeBSD.org>2005-12-15 21:18:10 +0800
commitb2da2bbfa46b613628cdd70ecbd0fc259571822d (patch)
tree4d79de309828a6f764fbcd06ccfa2467e2dfb6e8 /audio/eawpats
parent0f47048193ef3987e2b56d048616da491e55ab63 (diff)
downloadfreebsd-ports-gnome-b2da2bbfa46b613628cdd70ecbd0fc259571822d.tar.gz
freebsd-ports-gnome-b2da2bbfa46b613628cdd70ecbd0fc259571822d.tar.zst
freebsd-ports-gnome-b2da2bbfa46b613628cdd70ecbd0fc259571822d.zip
Make flexibility timidity.cfg.
Approved by: Jonathan Lennox <lennox@cs.columbia.edu> (maintainer)
Diffstat (limited to 'audio/eawpats')
-rw-r--r--audio/eawpats/Makefile6
-rw-r--r--audio/eawpats/distinfo1
-rw-r--r--audio/eawpats/pkg-plist4
3 files changed, 8 insertions, 3 deletions
diff --git a/audio/eawpats/Makefile b/audio/eawpats/Makefile
index 38cdd14ba2f4..d176f3635ff5 100644
--- a/audio/eawpats/Makefile
+++ b/audio/eawpats/Makefile
@@ -7,7 +7,7 @@
PORTNAME= eawpats
PORTVERSION= 12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
@@ -38,7 +38,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${subdir}/*.pat ${DATADIR}/${subdir}
.endfor
${MKDIR} ${TIMIDITY_DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}/timidity.cfg-eawpats
+ [ -f ${TIMIDITY_DATADIR}/timidity.cfg ] || \
+ ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}/timidity.cfg
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${DOCSDIR}
diff --git a/audio/eawpats/distinfo b/audio/eawpats/distinfo
index c93c9079392d..395ff5390687 100644
--- a/audio/eawpats/distinfo
+++ b/audio/eawpats/distinfo
@@ -1,2 +1,3 @@
MD5 (eawpats12_full.tar.gz) = 8ebcf0583f3077346ebace93c8ea166f
+SHA256 (eawpats12_full.tar.gz) = 0a1b7368e6e525d62900b34bd061ccc830e6fe1747601ede703e3eb0d1d968b6
SIZE (eawpats12_full.tar.gz) = 32047230
diff --git a/audio/eawpats/pkg-plist b/audio/eawpats/pkg-plist
index db4ca827eafc..29c31504427f 100644
--- a/audio/eawpats/pkg-plist
+++ b/audio/eawpats/pkg-plist
@@ -356,7 +356,9 @@
%%DATADIR%%/woodflut.pat
%%DATADIR%%/xgmap2.cfg
%%DATADIR%%/xylophon.pat
-share/timidity/timidity.cfg
+@unexec if cmp -s %D/share/timidity/timidity.cfg %D/share/timidity/timidity.cfg-eawpats; then rm -f %D/share/timidity/timidity.cfg; fi
+share/timidity/timidity.cfg-eawpats
+@exec [ ! -f %B/timidity.cfg ] && cp -p %B/%f %B/timidity.cfg
%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
%%PORTDOCS%%%%DOCSDIR%%/copyrigh.txt
%%PORTDOCS%%%%DOCSDIR%%/drumsfx.txt