diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-12-15 13:18:10 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-12-15 13:18:10 +0000 |
commit | ada4b0ce35c871b66cf2d096fa0ad0c5ce2bed5d (patch) | |
tree | 86bbc4e1012edc2410c11474548dcadd007295b3 /audio/eawpats | |
parent | 6e7d9074cf50542e7fffb2dfde6d19b19266f4e1 (diff) | |
download | ports-ada4b0ce35c871b66cf2d096fa0ad0c5ce2bed5d.tar.gz ports-ada4b0ce35c871b66cf2d096fa0ad0c5ce2bed5d.zip |
Make flexibility timidity.cfg.
Approved by: Jonathan Lennox <lennox@cs.columbia.edu> (maintainer)
Notes
Notes:
svn path=/head/; revision=151240
Diffstat (limited to 'audio/eawpats')
-rw-r--r-- | audio/eawpats/Makefile | 6 | ||||
-rw-r--r-- | audio/eawpats/distinfo | 1 | ||||
-rw-r--r-- | audio/eawpats/pkg-plist | 4 |
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 |