Date: Wed, 21 Nov 2012 22:01:20 GMT From: Chris Petrik <c.petrik.sosa@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173790: [PATCH] audio/festival optionsng Message-ID: <201211212201.qALM1KDn034859@red.freebsd.org> Resent-Message-ID: <201211212210.qALMA4gR038841@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173790 >Category: ports >Synopsis: [PATCH] audio/festival 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:10:04 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: festival/Makefile =================================================================== --- festival/Makefile (revision 305743) +++ festival/Makefile (working copy) @@ -1,11 +1,5 @@ -# New ports collection makefile for: festival -# Date created: 2000-06-11 -# Whom: Trevor Johnson -# based on the NetBSD port -# -# $NetBSD: Makefile,v 1.11 1999/12/28 04:19:58 wiz Exp $ +# Created by: Trevor Johnson # $FreeBSD$ -# PORTNAME= festival PORTVERSION= 1.96 @@ -19,9 +13,11 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Multi-lingual speech synthesis system -OPTIONS= NAS "Enable Network Audio System (NAS) backend" on \ - ESD "Enable ESound backend" on +OPTIONS_DEFINE= NAS ESD +OPTIONS_DEFAULT= NAS ESD +ESD_DESC= Enable ESound backend + DIST_SUBDIR= festival CONFIGURE_WRKSRC= ${WRKDIR}/festival @@ -54,7 +50,7 @@ .include <bsd.port.pre.mk> .for m in nas esd -. ifdef WITH_${m:U} +. if ${PORT_OPTIONS:Mm:U} LIB_DEPENDS+= ${m:nas=audio}:${PORTSDIR}/audio/${m:esd=esound} post-patch:: ${REINPLACE_CMD} -e 's,# INCLUDE_MODULES += ${m:U}_AUDIO,INCLUDE_MODULES += ${m:U}_AUDIO,' \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211212201.qALM1KDn034859>