# $Id: Portfile 127287 2014-10-24 22:37:09Z larryv@macports.org $ PortSystem 1.0 name ices0 version 0.4 revision 2 categories audio net license GPL-2+ maintainers nomaintainer description Stream audio to an icecast server long_description \ source client for broadcasting in MP3 format to an icecast2 server homepage http://icecast.org/ices.php platforms darwin master_sites http://downloads.us.xiph.org/releases/ices/ distname ices-${version} checksums md5 d31450c4011561dae0229f071cb41cb6 depends_build port:pkgconfig depends_lib port:faad2 \ port:flac \ port:lame \ port:libshout2 \ port:libxml2 \ path:lib/libmp4v2.dylib:mp4v2 patchfiles patch-src-in_mp4.c.diff \ patch-r13773.diff post-patch { system -W ${worksrcpath}/doc "iconv -f ISO-8859-1 -t UTF-8 ices.1.in > ices.1.in.new && mv ices.1.in.new ices.1.in" } configure.args --program-suffix=0 \ --with-docdir=${prefix}/share/doc/${name} \ --mandir=${prefix}/share/man \ --without-python \ --without-perl variant python description {Enable Python support} { configure.args-delete --without-python configure.args-append --with-python=${prefix}/bin/python2.7 depends_lib-append port:python27 } variant perl description {Enable Perl support} { configure.args-delete --without-perl configure.args-append --with-perl=${prefix}/bin/perl depends_lib-append path:bin/perl:perl5 }