1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Make flexibility timidity.cfg.

Approved by:	Jonathan Lennox <lennox@cs.columbia.edu> (maintainer)
This commit is contained in:
Norikatsu Shigemura 2005-12-15 13:18:10 +00:00
parent 6e7d9074cf
commit ada4b0ce35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151240
3 changed files with 8 additions and 3 deletions

View File

@ -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}

View File

@ -1,2 +1,3 @@
MD5 (eawpats12_full.tar.gz) = 8ebcf0583f3077346ebace93c8ea166f
SHA256 (eawpats12_full.tar.gz) = 0a1b7368e6e525d62900b34bd061ccc830e6fe1747601ede703e3eb0d1d968b6
SIZE (eawpats12_full.tar.gz) = 32047230

View File

@ -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