aboutsummaryrefslogtreecommitdiff
path: root/audio/festival
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-21 17:32:34 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-21 17:32:34 +0000
commit17a19dc04e1a016d219d6892da4b45267e069a3d (patch)
treef16cf02a99cfd14adff3dd81db12a4115df6fe18 /audio/festival
parent13816389f5a9e5555cbbbe66609f5e0ce791a425 (diff)
downloadports-17a19dc04e1a016d219d6892da4b45267e069a3d.tar.gz
ports-17a19dc04e1a016d219d6892da4b45267e069a3d.zip
Convert to new options framework left un converted ports in a* categories
While here trim headers Convert some gnomehack to pathfix Convert some pkgconfig to USE_PKGCONFIG=build
Notes
Notes: svn path=/head/; revision=314853
Diffstat (limited to 'audio/festival')
-rw-r--r--audio/festival/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/festival/Makefile b/audio/festival/Makefile
index 55c0cdeeb1d6..9e2e2e8dd541 100644
--- a/audio/festival/Makefile
+++ b/audio/festival/Makefile
@@ -13,8 +13,9 @@ DISTFILES= ${DISTNAME}-beta.tar.gz \
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= ${ESOUND_DESC}
DIST_SUBDIR= festival
@@ -45,10 +46,10 @@ post-patch::
${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/*/config/systems/default.mak
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.for m in nas esd
-. ifdef WITH_${m:U}
+. ifdef ${PORT_OPTIONS:M${m: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,' \
@@ -103,4 +104,4 @@ do-install:
${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 ${PREFIX}/man/man1/festival_client.1
${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>