Portfile

# $Id: Portfile 22537 2007-03-04 19:19:29Z mww@macports.org $

PortSystem 1.0

name abcMIDI
version 2007-01-06
categories audio
platforms darwin
maintainers mww@macports.org
description ABC to midi and vice versa converter
long_description ABC is a text-based music notation language. These \
tools can convert ABC to midi and vice versa.

homepage http://ifdo.pugmarks.com/~seymour/runabc/top.html
master_sites http://ifdo.pugmarks.com/~seymour/runabc/
checksums sha1 83378e375a984064c31c4a412b5823691ddc950d

use_zip yes

worksrcdir abcmidi

use_configure no

destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -W ${worksrcpath} abc2abc abc2midi mftext midi2abc \
yaps ${destroot}${prefix}/bin
xinstall -m 644 -W ${worksrcpath}/doc abc2abc.1 abc2midi.1 mftext.1 \
midi2abc.1 yaps.1 ${destroot}${prefix}/share/man/man1
xinstall -m 644 -W ${worksrcpath}/doc AUTHORS CHANGES abcguide.txt gpl.txt \
history.txt readme.txt yapshelp.txt \
${destroot}${prefix}/share/doc/${name}
}

platform darwin 8 {
build.args CC=/usr/bin/gcc-4.0 LNK=/usr/bin/gcc-4.0
}

livecheck.check regex
livecheck.url ${homepage}
livecheck.regex (20\[0-9\]+-\[0-9\]+-\[0-9\]+)