Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2012 19:25:31 +0000 (UTC)
From:      Wesley Shields <wxs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309123 - head/audio/ezstream
Message-ID:  <201212171925.qBHJPVxU051398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@vonostingroup.com>
-#
+# Created by: Frank Laszlo <laszlof@vonostingroup.com>
 # $FreeBSD$
-#
 
 PORTNAME=	ezstream
 PORTVERSION=	0.5.6
@@ -15,10 +11,13 @@ MASTER_SITES=	http://downloads.xiph.org/
 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
@@ -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>



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