mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
71 lines
2.3 KiB
Tcl
71 lines
2.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name ices0
|
|
version 0.4
|
|
revision 9
|
|
checksums rmd160 2a40856c8dbcef8558c7a85bf247c2c7cdf97c22 \
|
|
sha256 6e71f7c2a5d7415565a3af4f4c688ada4915312714c74bb7567f2b4b6d183074 \
|
|
size 372837
|
|
|
|
categories audio net
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
|
|
description Stream audio to an icecast server
|
|
|
|
long_description source client for broadcasting in MP3 format to an \
|
|
icecast2 server
|
|
|
|
homepage https://icecast.org/ices/
|
|
master_sites https://ftp.osuosl.org/pub/xiph/releases/ices/
|
|
distname ices-${version}
|
|
|
|
depends_build port:pkgconfig
|
|
|
|
depends_lib port:faad2 \
|
|
port:flac \
|
|
port:lame \
|
|
port:libshout2 \
|
|
port:libxml2 \
|
|
port:mp4v2
|
|
|
|
patchfiles patch-src-in_mp4.c.diff \
|
|
implicit.patch \
|
|
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
|
|
}
|
|
|
|
platform darwin arm {
|
|
depends_build-append port:automake
|
|
|
|
post-patch {
|
|
# Use newer config.guess and config.sub to support Apple Silicon.
|
|
set automake_dirs [glob -directory ${prefix}/share automake-*]
|
|
set automake_dir [lindex [lsort -command vercmp $automake_dirs] end]
|
|
copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \
|
|
${worksrcpath}
|
|
}
|
|
}
|