aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-23 06:22:43 +0800
committerpav <pav@FreeBSD.org>2003-12-23 06:22:43 +0800
commitf91ab5604be785c33874ed6a815ea3b0d6e86289 (patch)
tree8629dc15e07983c63122c3e583d608daac2e1816 /audio
parent5e5d855f47e598006aed935022e9015d74598409 (diff)
downloadfreebsd-ports-gnome-f91ab5604be785c33874ed6a815ea3b0d6e86289.tar.gz
freebsd-ports-gnome-f91ab5604be785c33874ed6a815ea3b0d6e86289.tar.zst
freebsd-ports-gnome-f91ab5604be785c33874ed6a815ea3b0d6e86289.zip
- Switch to original RAR packaging, because previous tarballs disappeared.
PR: ports/60515 Submitted by: Jonathan Lennox <lennox@cs.columbia.edu> (maintainer)
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