# $Id: Portfile,v 1.12 2004/03/19 23:18:40 mij Exp $ PortSystem 1.0 name shntool version 1.2.3 revision 1 categories audio maintainers darwinports@opendarwin.org description Multi-purpose .wav/.shn processing utility long_description \ shntool is a multi-purpose .wav/.shn processing tool. Input and \ output files are transparent to shntool, meaning that it can perform \ its functions upon both .wav and .shn data. homepage http://www.etree.org/shnutils/shntool/ platforms darwin master_sites http://etree.org/shnutils/shntool/source/ checksums md5 3efbb71b94f5e285daecfe137114873d depends_lib lib:libexpat.0:expat lib:libintl.3:gettext \ lib:libiconv.2:libiconv bin:shorten:shorten configure.args --mandir=${prefix}/share/man post-patch { reinplace "s|$\(bindir)/shn|${destroot}${prefix}/bin/shn|g" \ "${worksrcpath}/src/Makefile.in" reinplace "s|$\(bindir)/shn|${destroot}${prefix}/bin/shn|g" \ "${worksrcpath}/src/Makefile.am" } post-destroot { system "install -m 755 -d ${destroot}${prefix}/share/doc/${portname}" system "install -m 644 ${worksrcpath}/doc/* \ ${destroot}${prefix}/share/doc/${portname}/" }