Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:20:29 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/171960: audio/ices: Update MASTER_SITES
Message-ID:  <20120926022029.c3b31ea89cad3766451f1911@yahoo.com>
Resent-Message-ID: <201209251810.q8PIA9vF016968@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171960
>Category:       ports
>Synopsis:       audio/ices: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Add MAKE_JOBS_SAFE
- Add option for ALSA support

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/ices/Makefile audio/ices/Makefile
--- /usr/ports/audio/ices/Makefile	2012-09-20 09:01:35.000000000 +0900
+++ audio/ices/Makefile	2012-09-25 03:16:19.000000000 +0900
@@ -1,28 +1,39 @@
-# 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: ports/audio/ices/Makefile,v 1.25 2012/09/20 00:01:35 jase Exp $
-#
 
 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
 
+LICENSE=	GPLv2
+
 LIB_DEPENDS=	shout:${PORTSDIR}/audio/libshout2 \
-		vorbis:${PORTSDIR}/audio/libvorbis \
-		xml2:${PORTSDIR}/textproc/libxml2
+		vorbis:${PORTSDIR}/audio/libvorbis
+
+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
 GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
+CONFIGURE_ARGS=	--disable-roaraudio --disable-sun-audio
+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>
>Release-Note:
>Audit-Trail:
>Unformatted:



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