Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 20:43:55 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307093 - head/audio/ices
Message-ID:  <201211062043.qA6KhtqV046111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Tue Nov  6 20:43:55 2012
New Revision: 307093
URL: http://svnweb.freebsd.org/changeset/ports/307093

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Add MAKE_JOBS_SAFE
  - Add option for ALSA support
  
  While here:
  - Fix COMMENT
  - Add missing deps that package links to
  
  PR:		ports/171960
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Modified:
  head/audio/ices/Makefile

Modified: head/audio/ices/Makefile
==============================================================================
--- head/audio/ices/Makefile	Tue Nov  6 19:56:30 2012	(r307092)
+++ head/audio/ices/Makefile	Tue Nov  6 20:43:55 2012	(r307093)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211062043.qA6KhtqV046111>