ports/60515: Update master sites for audio/eawpats
Jonathan Lennox
lennox at cs.columbia.edu
Mon Dec 22 20:00:41 UTC 2003
>Number: 60515
>Category: ports
>Synopsis: Update master sites for audio/eawpats
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 22 12:00:37 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Lennox
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Columbia University
>Environment:
System: FreeBSD cnr.cs.columbia.edu 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #8: Sun Oct 5 23:47:09 EDT 2003 lennox at cnr.cs.columbia.edu:/usr/obj/usr/src/sys/CNR i386
>Description:
The list of master sites for my port audio/eawpats has stopped working, as
reported by Bill Fenner's distfiles report.
This is because I was lazy when I originally wrote the port. The primary
archive file for Eric A. Welsh's collection of Gravis Ultrasound MIDI
patches is in RAR format. However, several sites on the Internet made the
collection available in .tar.gz format instead, so to simplify the port's
Makefile, I specified these sites as the port's MASTER_SITES.
These sites have now gone off-line, so this patch updates the port to
properly use Eric A. Welsh's primary RAR collection of the patches.
>How-To-Repeat:
# fetch http://madchat.org/music/eawpats12_full.tar.gz
fetch: http://madchat.org/music/eawpats12_full.tar.gz: Not Found
# fetch http://5hdumat.samizdat.net/music/eawpats12_full.tar.gz
fetch: http://5hdumat.samizdat.net/music/eawpats12_full.tar.gz: Host not found
>Fix:
Apply the following patch.
There's no functional difference in the installed port, so no change to
PORTREVISION is necessary.
--- audio/eawpats/Makefile.orig Thu Dec 4 10:52:22 2003
+++ audio/eawpats/Makefile Mon Dec 22 14:30:42 2003
@@ -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 at 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 @@
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 @@
${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}
--- audio/eawpats/distinfo.orig Wed Sep 3 21:36:24 2003
+++ audio/eawpats/distinfo Mon Dec 22 14:13:36 2003
@@ -1 +1 @@
-MD5 (eawpats12_full.tar.gz) = 8ebcf0583f3077346ebace93c8ea166f
+MD5 (eawpats12_full.rar) = 3ac71d606a74bab01c5eb28b7d8b4f3c
--- audio/eawpats/pkg-plist.orig Thu Dec 4 06:39:37 2003
+++ audio/eawpats/pkg-plist Mon Dec 22 14:24:44 2003
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list