a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
PortSystem 1.0
name shntool
version 1.2.3
revision 1
categories audio
maintainers nomaintainer@macports.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 port: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/${name}"
system "install -m 644 ${worksrcpath}/doc/* \
${destroot}${prefix}/share/doc/${name}/" }