Portfile

# $Id: Portfile 21859 2007-02-10 17:04:17Z rhwood@macports.org $

PortSystem 1.0
name csound
version 4.23f13gbs.0
categories audio
maintainers nomaintainer@macports.org
description A language that is used to describe sound synthesizers.
long_description \
Csound is a computer programming language for dealing with sound. \
It is called Csound because it is written in the C programming language, \
as opposed to some of its predecessors. \
Csound was written at MIT by Barry Vercoe, \
based on an earlier language called Music360. \
It is free software, available under the LGPL.

homepage http://www.csounds.com
platforms darwin
master_sites sourceforge
checksums md5 2fd893dfa0256f64fb20dc8772f0c051
depends_lib port:fltk

configure.args --infodir=${prefix}/share/info

post-build {
system "cd ${worksrcpath}/flcsound/dmg && make"
}
post-destroot {
xinstall -d ${destroot}/Applications/MacPorts/${name}
file copy ${worksrcpath}/flcsound/dmg/flCsound.app \
${destroot}/Applications/MacPorts/${name}
file delete -force ${destroot}${prefix}/bin/flcsound \
${destroot}${prefix}/share/info/dir
}