summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-22 22:22:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-22 22:22:43 +0000
commit6d7e639d3107d2df8e0f0030ac40fc5b4eb5d183 (patch)
tree958d794e9da8a23516a553b4af37242f6345d05a /audio
parentFix the DATADIR. This should fix the Help link with the new libgnome update. (diff)
- Switch to original RAR packaging, because previous tarballs disappeared.
PR: ports/60515 Submitted by: Jonathan Lennox <lennox@cs.columbia.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=96466
Diffstat (limited to 'audio')
-rw-r--r--audio/eawpats/Makefile15
-rw-r--r--audio/eawpats/distinfo2
-rw-r--r--audio/eawpats/pkg-plist1
3 files changed, 12 insertions, 6 deletions
diff --git a/audio/eawpats/Makefile b/audio/eawpats/Makefile
index 3082af4cb344..bbf573761539 100644
--- a/audio/eawpats/Makefile
+++ b/audio/eawpats/Makefile
@@ -8,13 +8,14 @@
PORTNAME= eawpats
PORTVERSION= 12
CATEGORIES= audio
-MASTER_SITES= http://madchat.org/music/ \
- http://5hdumat.samizdat.net/music/
+MASTER_SITES= http://www.stardate.bc.ca/eawpatches/
DISTNAME= eawpats12_full
+EXTRACT_SUFX= .rar
MAINTAINER= lennox@cs.columbia.edu
COMMENT= Eric A. Welsh's collection of Gravis Ultrasound MIDI patches
+EXTRACT_DEPENDS= unrar:${PORTSDIR}/archivers/unrar
# Not useful without timidity.
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity++
@@ -26,11 +27,15 @@ USE_REINPLACE= yes
PATCH_SUBDIRS= ethnic mazpat/fx gsdrum08 gsdrum25 gsdrum40 gus power sfx wime
DOC_SUBDIRS= ethnic gsdrum08 gsdrum25 gsdrum40 power wime
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}
TIMIDITY_DATADIR= ${PREFIX}/share/timidity
+EXTRACT_CMD= unrar
+EXTRACT_BEFORE_ARGS= x
+EXTRACT_AFTER_ARGS=
+
post-patch:
- @${REINPLACE_CMD} -e 's|/home/user/eawpats|${DATADIR}|' ${WRKSRC}/linuxconfig/timidity.cfg
+ @${REINPLACE_CMD} -e 's|c:\\timidity|${DATADIR}|;s|c:\\eawpats|${DATADIR}|' ${WRKSRC}/timidity.cfg
do-install:
${MKDIR} ${DATADIR}
@@ -40,7 +45,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${subdir}/*.pat ${DATADIR}/${subdir}
.endfor
${MKDIR} ${TIMIDITY_DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/linuxconfig/timidity.cfg ${TIMIDITY_DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/timidity.cfg ${TIMIDITY_DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/*.txt ${WRKSRC}/*.hlp ${DOCSDIR}
diff --git a/audio/eawpats/distinfo b/audio/eawpats/distinfo
index 4c68bd967a22..dbd8d72c1639 100644
--- a/audio/eawpats/distinfo
+++ b/audio/eawpats/distinfo
@@ -1 +1 @@
-MD5 (eawpats12_full.tar.gz) = 8ebcf0583f3077346ebace93c8ea166f
+MD5 (eawpats12_full.rar) = 3ac71d606a74bab01c5eb28b7d8b4f3c
diff --git a/audio/eawpats/pkg-plist b/audio/eawpats/pkg-plist
index ac1dedc6b970..fea27857e6cd 100644
--- a/audio/eawpats/pkg-plist
+++ b/audio/eawpats/pkg-plist
@@ -320,6 +320,7 @@
%%DATADIR%%/tenorsax.pat
%%DATADIR%%/timbaleh.pat
%%DATADIR%%/timbalel.pat
+%%DATADIR%%/timidity.cfg
%%DATADIR%%/timpani.pat
%%DATADIR%%/tomhi1.pat
%%DATADIR%%/tomhi2.pat