source: trunk/dports/audio/ices0/Portfile

Last change on this file was 127287, checked in by larryv@…, 3 years ago

ices0: Switch from Python 2.5 to 2.7

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 127287 2014-10-24 22:37:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             ices0
6version          0.4
7revision         2
8categories       audio net
9license          GPL-2+
10maintainers      nomaintainer
11description      Stream audio to an icecast server
12long_description \
13        source client for broadcasting in MP3 format to an icecast2 server
14homepage         http://icecast.org/ices.php
15platforms        darwin
16
17master_sites     http://downloads.us.xiph.org/releases/ices/
18distname         ices-${version}
19checksums        md5 d31450c4011561dae0229f071cb41cb6
20
21depends_build    port:pkgconfig
22
23depends_lib      port:faad2 \
24                 port:flac \
25                 port:lame \
26                 port:libshout2 \
27                 port:libxml2 \
28                 path:lib/libmp4v2.dylib:mp4v2
29
30patchfiles       patch-src-in_mp4.c.diff \
31                 patch-r13773.diff
32
33post-patch {
34    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"
35}
36
37configure.args   --program-suffix=0 \
38                 --with-docdir=${prefix}/share/doc/${name} \
39                 --mandir=${prefix}/share/man \
40                 --without-python \
41                 --without-perl
42
43variant python description {Enable Python support} {
44                configure.args-delete --without-python
45                configure.args-append --with-python=${prefix}/bin/python2.7
46                depends_lib-append              port:python27
47}
48
49variant perl description {Enable Perl support} {
50                configure.args-delete --without-perl
51                configure.args-append --with-perl=${prefix}/bin/perl
52                depends_lib-append              path:bin/perl:perl5
53}
Note: See TracBrowser for help on using the repository browser.