Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 21:59:28 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173781: [PATCH] audio/ezstream optionsng
Message-ID:  <201211212159.qALLxSgt030073@red.freebsd.org>
Resent-Message-ID: <201211212200.qALM02df037585@freefall.freebsd.org>

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

>Number:         173781
>Category:       ports
>Synopsis:       [PATCH] audio/ezstream optionsng
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 22:00:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
OptionsNG Changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: ezstream/Makefile
===================================================================
--- ezstream/Makefile	(revision 305743)
+++ ezstream/Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	ezstream
-# Date created:				27 Nov 2004
-# Whom:					Frank Laszlo <laszlof@vonostingroup.com>
-#
+# Created by: Frank Laszlo <laszlof@vonostingroup.com>
 # $FreeBSD$
-#
 
 PORTNAME=	ezstream
 PORTVERSION=	0.5.6
@@ -15,11 +11,14 @@
 MAINTAINER=	ayu@commun.jp
 COMMENT=	A command line utility for streaming to icecast servers
 
-LIB_DEPENDS=	shout.5:${PORTSDIR}/audio/libshout2 \
-		vorbis.4:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS=	shout:${PORTSDIR}/audio/libshout2 \
+		vorbis:${PORTSDIR}/audio/libvorbis
 
-OPTIONS=	TAGLIB "TagLib support" on
+OPTIONS_DEFINE=	TAGLIB
+OPTIONS_DEFAULT=	TAGLIB
 
+TAGLIB_DESC=	TagLib support
+
 USE_GNOME=	libxml2
 USE_ICONV=	yes
 USE_RC_SUBR=	${PORTNAME}
@@ -36,12 +35,12 @@
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if defined(WITHOUT_TAGLIB)
+.if ${PORT_OPTIONS:MTAGLIB}
 CONFIGURE_ARGS+=	--without-taglib
 .else
-LIB_DEPENDS+=		tag.1:${PORTSDIR}/audio/taglib
+LIB_DEPENDS+=		tag:${PORTSDIR}/audio/taglib
 CONFIGURE_ARGS+=	--with-taglib=${LOCALBASE}
 .endif
 
@@ -65,4 +64,4 @@
 	@${MKDIR} ${ETCDIR}/
 	@${INSTALL_DATA} ${WRKSRC}/examples/ezstream_vorbis.xml ${ETCDIR}/ezstream.xml
 
-.include <bsd.port.post.mk>
+.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?201211212159.qALLxSgt030073>