# $Id: Portfile 30219 2007-10-22 22:40:35Z jmpp@macports.org $ PortSystem 1.0 name libmad version 0.15.1b revision 1 categories audio maintainers nomaintainer description MPEG Audio Decoder long_description MAD is a high-quality MPEG audio decoder. \ It currently supports MPEG-1 as well as the \ MPEG-2 extension to Lower Sampling Frequencies. \ All three audio layers (Layer I, Layer II, and Layer \ III a.k.a. MP3) are fully implemented. homepage http://www.mars.org/home/rob/proj/mpeg/ platforms darwin freebsd master_sites ftp://ftp.mars.org/pub/mpeg/ \ sourceforge:mad checksums md5 1be543bc30c56fb6bea1d7bf6a64e66c universal_variant no depends_build \ port:pkgconfig post-patch { file copy -force ${filespath}/mad.pc.in ${worksrcpath}/mad.pc reinplace "s|%PREFIX%|${prefix}|g" \ ${worksrcpath}/mad.pc reinplace "s|%VERSION%|${version}|g" \ ${worksrcpath}/mad.pc } post-destroot { file mkdir ${destroot}${prefix}/lib/pkgconfig file copy -force ${worksrcpath}/mad.pc ${destroot}${prefix}/lib/pkgconfig }