svn commit: r309123 - head/audio/ezstream
Wesley Shields
wxs at FreeBSD.org
Mon Dec 17 19:25:31 UTC 2012
Author: wxs
Date: Mon Dec 17 19:25:30 2012
New Revision: 309123
URL: http://svnweb.freebsd.org/changeset/ports/309123
Log:
Convert to new options.
PR: ports/173781
Submitted by: Chris Petrik <c.petrik.sosa at gmail.com>
Approved by: maintainer timeout
Modified:
head/audio/ezstream/Makefile (contents, props changed)
Modified: head/audio/ezstream/Makefile
==============================================================================
--- head/audio/ezstream/Makefile Mon Dec 17 19:24:44 2012 (r309122)
+++ head/audio/ezstream/Makefile Mon Dec 17 19:25:30 2012 (r309123)
@@ -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,10 +11,13 @@ MASTER_SITES= http://downloads.xiph.org/
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
@@ -36,12 +35,12 @@ PLIST_FILES= bin/ezstream bin/ezstream-f
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 @@ post-install:
@${MKDIR} ${ETCDIR}/
@${INSTALL_DATA} ${WRKSRC}/examples/ezstream_vorbis.xml ${ETCDIR}/ezstream.xml
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-head
mailing list