aboutsummaryrefslogtreecommitdiff
path: root/audio/ices/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-11-06 20:43:55 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-11-06 20:43:55 +0000
commit8f2dfda588086abe030f09efa62f6167a1c2dcd2 (patch)
treeabb535761d68b3e723cca9005a92affeefc899b6 /audio/ices/Makefile
parent5ff4cee80877f1b321ada3eecc96a6686733583f (diff)
downloadports-8f2dfda588086abe030f09efa62f6167a1c2dcd2.tar.gz
ports-8f2dfda588086abe030f09efa62f6167a1c2dcd2.zip
Notes
Diffstat (limited to 'audio/ices/Makefile')
-rw-r--r--audio/ices/Makefile42
1 files changed, 29 insertions, 13 deletions
diff --git a/audio/ices/Makefile b/audio/ices/Makefile
index c97720a669b0..43aaa5da2dfd 100644
--- a/audio/ices/Makefile
+++ b/audio/ices/Makefile
@@ -1,28 +1,44 @@
-# New ports collection makefile for: ices
-# Date created: 11 Nov 2002
-# Whom: Michael Nottebrock <michaelnottebrock@gmx.net>
-#
+# Created by: Michael Nottebrock <michaelnottebrock@gmx.net>
# $FreeBSD$
-#
PORTNAME= ices
PORTVERSION= 2.0.2
PORTEPOCH= 1
CATEGORIES= audio net
-MASTER_SITES= http://svn.xiph.org/releases/ices/
+MASTER_SITES= http://downloads.xiph.org/releases/ices/ \
+ http://svn.xiph.org/releases/ices/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A vorbis streaming source client for icecast 2
+COMMENT= Vorbis streaming source client for icecast 2
-LIB_DEPENDS= shout:${PORTSDIR}/audio/libshout2 \
+LICENSE= GPLv2
+
+LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg \
+ shout:${PORTSDIR}/audio/libshout2 \
vorbis:${PORTSDIR}/audio/libvorbis \
- xml2:${PORTSDIR}/textproc/libxml2
+ speex:${PORTSDIR}/audio/speex \
+ theora:${PORTSDIR}/multimedia/libtheora
+
+OPTIONS_DEFINE= ALSA
-CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
-LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --disable-alsa --disable-roaraudio --disable-sun-audio
+USE_BZIP2= yes
+USE_GNOME= libxml2
USE_GMAKE= yes
+USE_ICONV= yes
GNU_CONFIGURE= yes
-USE_BZIP2= yes
+CONFIGURE_ARGS= --disable-roaraudio --disable-sun-audio
+USE_PKGCONFIG= build
+MAKE_JOBS_SAFE= yes
+
+CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MALSA}
+LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib
+.else
+CONFIGURE_ARGS+=--disable-alsa
+.endif
.include <bsd.port.mk>