aboutsummaryrefslogtreecommitdiffstats
path: root/audio/abcmidi/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-19 22:37:46 +0800
committerkrion <krion@FreeBSD.org>2003-11-19 22:37:46 +0800
commitc77c103cd33b642d712ef5d343935dddea705d9d (patch)
tree0c28763d9caea98245aba490a7a53d69c6e1b3bc /audio/abcmidi/Makefile
parent7ef2b31c6f0fb7c320e981d38058a49fa5dce96f (diff)
downloadfreebsd-ports-graphics-c77c103cd33b642d712ef5d343935dddea705d9d.tar.gz
freebsd-ports-graphics-c77c103cd33b642d712ef5d343935dddea705d9d.tar.zst
freebsd-ports-graphics-c77c103cd33b642d712ef5d343935dddea705d9d.zip
- Update to version 2003.11.12
PR: 59462 Submitted by: Ports Fury
Diffstat (limited to 'audio/abcmidi/Makefile')
-rw-r--r--audio/abcmidi/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile
index 0921719843b..e6b0b62e7b0 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