# $Id: Portfile,v 1.43 2006/06/16 22:45:51 mww Exp $

PortSystem 1.0

name			abcm2ps
version			4.12.19
categories		print audio
platforms		darwin
maintainers		mww@opendarwin.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 7ff8268b6611a477f9cf3b3d0e2a3f3aae476657

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
}

