Ticket #14842: Portfile

File Portfile, 1.1 KB (added by artur.komarov@…, 16 years ago)

portfile with python and perl variants

Line 
1# $Id: Portfile 30219 2007-10-22 22:40:35Z jmpp@macports.org $
2
3PortSystem 1.0
4name             ices0
5version          0.4
6categories       audio net
7maintainers      nomaintainer
8description      Stream audio to an icecast server
9long_description \
10        source client for broadcasting in MP3 format to an icecast2 server
11homepage         http://icecast.org/ices.php
12platforms        darwin
13
14master_sites     http://downloads.us.xiph.org/releases/ices/
15distname         ices-${version}
16checksums        md5 d31450c4011561dae0229f071cb41cb6
17
18depends_build    bin:pkg-config:pkgconfig
19depends_lib      port:libxml2 \
20                 lib:libmp3lame.0:lame \
21                 lib:libshout.3:libshout2
22
23configure.args   --program-suffix=0 \
24                 --with-docdir=${prefix}/share/doc \
25                 --mandir=${prefix}/share/man \
26                 --without-python \
27                 --without-perl
28
29variant python  {
30                configure.args-delete --without-python
31                configure.args-append --with-python
32                depends_lib-append              port:python25
33}
34
35variant perl    {
36                configure.args-delete --without-perl
37                configure.args-append --with-perl
38                depends_lib-append              port:perl5.8
39}