diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-06 20:13:57 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-06 20:13:57 +0000 |
commit | 5c07faa16939b312257d55bbceba9c8be550f8ec (patch) | |
tree | 9db0c4cc5c33145f10b1cbef956bfa19b606eaa6 /audio/abcmidi | |
parent | - Update to version 1.5.5.1 (diff) |
- Fix MASTER_SITES
- Support CC properly
PR: 59003
Submitted by: Ports Fury
Diffstat (limited to 'audio/abcmidi')
-rw-r--r-- | audio/abcmidi/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/abcmidi/Makefile b/audio/abcmidi/Makefile index 1b21be60ada4..0921719843ba 100644 --- a/audio/abcmidi/Makefile +++ b/audio/abcmidi/Makefile @@ -8,14 +8,16 @@ PORTNAME= abcmidi PORTVERSION= 36 CATEGORIES= audio -MASTER_SITES= http://ifdo.pugmarks.com/~seymour/runabc/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= abc DISTNAME= abcMIDI MAINTAINER= ports@FreeBSD.org COMMENT= Convert abc music files to MIDI and PostScript -USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${PORTNAME} + +USE_REINPLACE= yes USE_GMAKE= yes MAKEFILE= unix.mak @@ -26,8 +28,9 @@ pre-patch: @(cd ${WRKSRC} ; ${MV} -f ${file} ${file}.orig ; \ ${TR} -d '\r' < ${file}.orig > ${file}) .endfor - @${REINPLACE_CMD} -e "s,^CC,#CC,g" -e "s,^CFLAGS=,CFLAGS+=,g" \ - ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \ + s|^CFLAGS=|CFLAGS+=|g ; \ + s|^LNK=gcc|LNK=$$(CC)|g' ${WRKSRC}/${MAKEFILE} do-install: .for file in abc2abc abc2midi mftext midi2abc yaps |