From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 21 22:30:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A348B2F1 for ; Wed, 21 Nov 2012 22:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 783948FC19 for ; Wed, 21 Nov 2012 22:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qALMU11K041083 for ; Wed, 21 Nov 2012 22:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qALMU1mD041082; Wed, 21 Nov 2012 22:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 21 Nov 2012 22:30:01 GMT Resent-Message-Id: <201211212230.qALMU1mD041082@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Petrik Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55300CB for ; Wed, 21 Nov 2012 22:23:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 23E928FC13 for ; Wed, 21 Nov 2012 22:23:23 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qALMNN3X078373 for ; Wed, 21 Nov 2012 22:23:23 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qALMNNuI078372; Wed, 21 Nov 2012 22:23:23 GMT (envelope-from nobody) Message-Id: <201211212223.qALMNNuI078372@red.freebsd.org> Date: Wed, 21 Nov 2012 22:23:23 GMT From: Chris Petrik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173797: [PATCH] audio/gnormalize optionsng X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 22:30:01 -0000 >Number: 173797 >Category: ports >Synopsis: [PATCH] audio/gnormalize optionsng >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 21 22:30:01 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: gnormalize/Makefile =================================================================== --- gnormalize/Makefile (revision 305743) +++ gnormalize/Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: gnormalize -# Date created: 27 Oct 2007 -# Whom: Denise H. G. -# +# Created by: Denise H. G. # $FreeBSD$ -# PORTNAME= gnormalize PORTVERSION= 0.63 @@ -24,58 +20,51 @@ MAN1= gnormalize.1 -OPTIONS= \ - GNORMALIZE_MP3 "WAV <-> MP3 Support" on \ - GNORMALIZE_OGG "Ogg Encoding and Playback" on \ - GNORMALIZE_MP4 "WAV <-> MP4 Support" on \ - GNORMALIZE_CDRIP "CD Ripping" off \ - GNORMALIZE_CDDB "CDDB Support" off \ - GNORMALIZE_CDPLAY "CD Playback" off \ - GNORMALIZE_FLAC "FLAC Encoding and Playback" off \ - GNORMALIZE_MAC "Monkey's Audio Encoding and Playback" off \ - GNORMALIZE_MPC "MPC (musepack) Audio" off +OPTIONS_DEFINE= MP3 OGG MP4 CDPARANOIA CDDB CDPLAY PLAC MAC MUSEPACK +OPTIONS_DEFAULT= MP3 OGG MP4 -.include +MAC_DESC= Monkey's Audio Encoding and Playback +CDPLAY_DESC= CD Playback -.if defined(WITH_GNORMALIZE_MP3) +.include + +.if ${PORT_OPTIONS:MMP3} RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame \ p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info .endif -.if defined(WITH_GNORMALIZE_OGG) +.if ${PORT_OPTIONS:MOGG} RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools .endif -.if defined(WITH_GNORMALIZE_MP4) +.if ${PORT_OPTIONS:MMP4} RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac \ faad:${PORTSDIR}/audio/faad .endif -.if defined(WITH_GNORMALIZE_CDRIP) -.if defined(WITH_CDDA2WAV) -RUN_DEPENDS+= cdda2wav:${PORTSDIR}/sysutils/cdrtools +.if ${PORT_OPTIONS:MCDPARANOIA} || ${PORT_OPTIONS:MCDDA2WAV} +USE_CDRTOOLS= yes .else RUN_DEPENDS+= cdparanoia:${PORTSDIR}/audio/cdparanoia .endif -.endif -.if defined(WITH_GNORMALIZE_CDDB) +.if ${PORT_OPTIONS:MCDDB} RUN_DEPENDS+= cddb.pl:${PORTSDIR}/audio/p5-CDDB_get .endif -.if defined(WITH_GNORMALIZE_CDPLAY) +.if ${PORT_OPTIONS:MCDPLAY} RUN_DEPENDS+= p5-Audio-CD>=0:${PORTSDIR}/audio/p5-Audio-CD .endif -.if defined(WITH_GNORMALIZE_FLAC) +.if ${PORT_OPTIONS:MFLAC} RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac .endif -.if defined(WITH_GNORMALIZE_MAC) +.if ${PORT_OPTIONS:MMAC} RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac .endif -.if defined(WITH_GNORMALIZE_MPC) +.if ${PORT_OPTIONS:MMUSEPACK} RUN_DEPENDS+= mppenc:${PORTSDIR}/audio/musepack .endif @@ -91,4 +80,4 @@ @${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \ ${WRKSRC}/gnormalize -.include +.include >Release-Note: >Audit-Trail: >Unformatted: