aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-19 14:37:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-19 14:37:46 +0000
commit870648e906e85b718fc3c4ca1e710252f075cebe (patch)
tree88999fec70b25962ba7b78d89c75439480e7e444
parent08c936aab3adda50ca9db902b24b2276f48fe592 (diff)
downloadports-870648e906e85b718fc3c4ca1e710252f075cebe.tar.gz
ports-870648e906e85b718fc3c4ca1e710252f075cebe.zip
Notes
-rw-r--r--audio/abcmidi/Makefile25
-rw-r--r--audio/abcmidi/distinfo2
-rw-r--r--audio/abcmidi/files/pactch-unix.mak8
-rw-r--r--audio/abcmidi/pkg-descr2
4 files changed, 11 insertions, 26 deletions
diff --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile
index 0921719843ba..e6b0b62e7b0a 100644
--- a/audio/abcmidi/Makefile
+++ b/audio/abcmidi/Makefile
@@ -6,31 +6,24 @@
#
PORTNAME= abcmidi
-PORTVERSION= 36
+PORTVERSION= 2003.11.12
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= abc
-DISTNAME= abcMIDI
+MASTER_SITES= http://ifdo.pugmarks.com/~seymour/runabc/
+DISTNAME= abcMIDI-${PORTVERSION:S/./-/g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert abc music files to MIDI and PostScript
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_REINPLACE= yes
-USE_GMAKE= yes
-MAKEFILE= unix.mak
+EXTRACT_BEFORE_ARGS= -aqo
-DOCS= abcguide.txt demo.abc readme.txt yaps.txt
+USE_ZIP= yes
+USE_GMAKE= yes
+MAKEFILE= makefiles/unix.mak
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DANSILIBS -c" LNK="${CC}"
-pre-patch:
-.for file in ${DOCS} ${MAKEFILE}
- @(cd ${WRKSRC} ; ${MV} -f ${file} ${file}.orig ; \
- ${TR} -d '\r' < ${file}.orig > ${file})
-.endfor
- @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \
- s|^CFLAGS=|CFLAGS+=|g ; \
- s|^LNK=gcc|LNK=$$(CC)|g' ${WRKSRC}/${MAKEFILE}
+DOCS= demo.abc doc/abcguide.txt doc/readme.txt doc/yaps.txt
do-install:
.for file in abc2abc abc2midi mftext midi2abc yaps
diff --git a/audio/abcmidi/distinfo b/audio/abcmidi/distinfo
index 288ae30ea1dd..c34a9d77e096 100644
--- a/audio/abcmidi/distinfo
+++ b/audio/abcmidi/distinfo
@@ -1 +1 @@
-MD5 (abcMIDI.tar.gz) = 11efd4ba996dbe6c5668136c529c6a5a
+MD5 (abcMIDI-2003-11-12.zip) = 0bbb39aa14dcf8ee1b2104f73df38ed3
diff --git a/audio/abcmidi/files/pactch-unix.mak b/audio/abcmidi/files/pactch-unix.mak
deleted file mode 100644
index 87c14cd407bd..000000000000
--- a/audio/abcmidi/files/pactch-unix.mak
+++ /dev/null
@@ -1,8 +0,0 @@
---- unix.mak.orig Sat Mar 9 18:29:13 2002
-+++ unix.mak Sat Mar 9 20:20:53 2002
-@@ -104,4 +104,4 @@
- $(CC) $(CFLAGS) debug.c
-
- clean :
-- rm *.o abc2midi midi2abc abc2abc mftext
-+ rm *.o abc2midi midi2abc abc2abc mftext yaps
diff --git a/audio/abcmidi/pkg-descr b/audio/abcmidi/pkg-descr
index b96d89bcf5b7..79dac5b60527 100644
--- a/audio/abcmidi/pkg-descr
+++ b/audio/abcmidi/pkg-descr
@@ -16,7 +16,7 @@ Check ${PREFIX}/share/doc/abcmidi/ for these and other docs.
The abc format is plain text, but you might optionally install
a MIDI player (timidity) and a PostScript viewer (gv with ghostscript).
-WWW: http://abc.sourceforge.net/abcMIDI/
+WWW: http://ifdo.pugmarks.com/~seymour/runabc/top.html
- Sue Blake
sue@freebsd.org