From owner-svn-ports-all@FreeBSD.ORG Mon Dec 17 19:25:31 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 717A018A; Mon, 17 Dec 2012 19:25:31 +0000 (UTC) (envelope-from wxs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3C6CF8FC0C; Mon, 17 Dec 2012 19:25:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBHJPVgK051399; Mon, 17 Dec 2012 19:25:31 GMT (envelope-from wxs@svn.freebsd.org) Received: (from wxs@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBHJPVxU051398; Mon, 17 Dec 2012 19:25:31 GMT (envelope-from wxs@svn.freebsd.org) Message-Id: <201212171925.qBHJPVxU051398@svn.freebsd.org> From: Wesley Shields Date: Mon, 17 Dec 2012 19:25:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309123 - head/audio/ezstream X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2012 19:25:31 -0000 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 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 -# +# Created by: Frank Laszlo # $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 +.include -.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 +.include