From owner-svn-ports-all@FreeBSD.ORG Tue Apr 8 10:05:26 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F973A70; Tue, 8 Apr 2014 10:05:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62FF51CC6; Tue, 8 Apr 2014 10:05:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s38A5Qho042214; Tue, 8 Apr 2014 10:05:26 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s38A5Qd2042212; Tue, 8 Apr 2014 10:05:26 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404081005.s38A5Qd2042212@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 8 Apr 2014 10:05:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350592 - head/audio/normalize 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.17 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: Tue, 08 Apr 2014 10:05:26 -0000 Author: bapt Date: Tue Apr 8 10:05:25 2014 New Revision: 350592 URL: http://svnweb.freebsd.org/changeset/ports/350592 QAT: https://qat.redports.org/buildarchive/r350592/ Log: Use options helpers Add a run dependency on perl (which also fixs normalize-mp3 shebang detection) Modified: head/audio/normalize/Makefile Modified: head/audio/normalize/Makefile ============================================================================== --- head/audio/normalize/Makefile Tue Apr 8 09:59:06 2014 (r350591) +++ head/audio/normalize/Makefile Tue Apr 8 10:05:25 2014 (r350592) @@ -3,16 +3,17 @@ PORTNAME= normalize PORTVERSION= 0.7.7 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= SAVANNAH MAINTAINER= alex@fafula.com -COMMENT= A tool for adjusting the volume of wave/MP3 files to a standard level +COMMENT= Tool for adjusting the volume of wave/MP3 files to a standard level LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad -USE_BZIP2= yes +USES= shebangfix perl5 tar:bzip2 +USE_PERL5= run GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-helper-search CPPFLAGS+= -I${LOCALBASE}/include @@ -21,37 +22,16 @@ MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= XMMS MP3 OGG FLAC NLS OPTIONS_DEFAULT= MP3 +OPTIONS_SUB= yes XMMS_DESC= XMMS plugin -.include - -.if ${PORT_OPTIONS:MXMMS} -LIB_DEPENDS+= libxmms.so:${PORTSDIR}/multimedia/xmms -PLIST_SUB+= XMMS="" -.else -CONFIGURE_ARGS+=--disable-xmms -PLIST_SUB+= XMMS="@comment " -.endif - -.if ${PORT_OPTIONS:MMP3} -RUN_DEPENDS+= madplay:${PORTSDIR}/audio/madplay \ - lame:${PORTSDIR}/audio/lame -.endif - -.if ${PORT_OPTIONS:MOGG} -RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools -.endif - -.if ${PORT_OPTIONS:MFLAC} -RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +XMMS_LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms +XMMS_CONFIGURE_ENABLE= xmms +MP3_RUN_DEPENDS+= madplay:${PORTSDIR}/audio/madplay \ + lame:${PORTSDIR}/audio/lame +OGG_RUN_DEPENDS= oggdec:${PORTSDIR}/audio/vorbis-tools +FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls .include