ports/173781: [PATCH] audio/ezstream optionsng
Chris Petrik
c.petrik.sosa at gmail.com
Wed Nov 21 22:00:24 UTC 2012
>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 at vonostingroup.com>
-#
+# Created by: Frank Laszlo <laszlof at vonostingroup.com>
# $FreeBSD$
-#
PORTNAME= ezstream
PORTVERSION= 0.5.6
@@ -15,11 +11,14 @@
MAINTAINER= ayu at 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:
More information about the freebsd-ports-bugs
mailing list