Portfile

# $Id: Portfile 22747 2007-03-13 12:09:03Z mww@macports.org $

PortSystem 1.0

name abcm2ps
version 5.3.1
categories print audio
platforms darwin
maintainers mww@macports.org
description abcm2ps converts abc music tunes to postscript
long_description abcm2ps is a package that converts music tunes from \
ABC format to PostScript. It introduces many \
extensions to the ABC language that make it suitable \
for classical music.

homepage http://moinejf.free.fr/
master_sites ${homepage}
checksums sha1 2ca420722e1b3f622c7467a2f300233c82a05209

build.target

test.run yes
test.target test

destroot.destdir prefix=${destroot}${prefix}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} Changes INSTALL License options.txt \
README ${destroot}${prefix}/share/doc/${name}
}

platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
}

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