Files

37 lines
1.2 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 ices2
version 2.0.3
revision 1
checksums rmd160 2d20f51122283acfb7fedccb79097c31110e58ba \
sha256 e620c67c8b311520b1d6a8a89d7fd1d1d08f299534d274b8a1a36ed33a7ee4a8 \
size 330591
categories audio net
maintainers nomaintainer
license GPL-2
description Stream audio to an icecast server
long_description source client for broadcasting in Ogg Vorbis format \
to an icecast2 server
homepage https://icecast.org/ices/
master_sites https://ftp.osuosl.org/pub/xiph/releases/ices/
distname ices-${version}
use_bzip2 yes
depends_build port:pkgconfig
depends_lib port:libxml2 \
port:libshout2
post-configure {
reinplace "s|VORBIS_CFLAGS = -I${prefix}/include|VORBIS_CFLAGS = -I${prefix}/include -D_MACOSX_ |g" ${worksrcpath}/Makefile
reinplace "s|#include <unistd.h>|#include <sys/select.h>\\\n#include <unistd.h>|g" ${worksrcpath}/src/metadata.c
}
livecheck.name ices