aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-02-07 03:36:19 +0800
committertrevor <trevor@FreeBSD.org>2004-02-07 03:36:19 +0800
commit727e5b7c824a8aa968c3c423fa82e7aba72b2604 (patch)
tree4b0839919318a73edafc7466e7c23387b0be149b /audio
parent9d12ad7dea4aca779cff93e676c0a0af4f6c3813 (diff)
downloadfreebsd-ports-gnome-727e5b7c824a8aa968c3c423fa82e7aba72b2604.tar.gz
freebsd-ports-gnome-727e5b7c824a8aa968c3c423fa82e7aba72b2604.tar.zst
freebsd-ports-gnome-727e5b7c824a8aa968c3c423fa82e7aba72b2604.zip
Update to 2.0.1.
PR: 48214 Submitted by: Volker Stolz of RWTH Aachen Install documentation, conditionally. Use PLIST_DIRS, PLIST_FILES, PORTDOCS and RM macros. Specifically depend on festival+OGI.
Diffstat (limited to 'audio')
-rw-r--r--audio/festogi-spanish/Makefile23
-rw-r--r--audio/festogi-spanish/distinfo3
-rw-r--r--audio/festogi-spanish/pkg-plist10
3 files changed, 20 insertions, 16 deletions
diff --git a/audio/festogi-spanish/Makefile b/audio/festogi-spanish/Makefile
index 437e2c43c512..a0e22fe634e4 100644
--- a/audio/festogi-spanish/Makefile
+++ b/audio/festogi-spanish/Makefile
@@ -8,16 +8,25 @@
#
PORTNAME= festogi-spanish
-PORTVERSION= 2.0
+PORTVERSION= 2.0.1
CATEGORIES= audio accessibility
MASTER_SITES= ${MASTER_SITE_FESTIVAL_OGI}
-DISTNAME= OGIspanish-2.0
+DISTNAME= OGIspanish-${PORTVERSION}
DIST_SUBDIR= festival
MAINTAINER= trevor@FreeBSD.org
COMMENT= Mexican Spanish support for Festival
-RUN_DEPENDS= festival:${.CURDIR}/../festival
+RUN_DEPENDS= \
+${PREFIX}/share/festival/lib/ogi_token.scm:${PORTSDIR}/audio/festival+OGI
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= README-OGIspanish license_ogi_tts.txt
+.endif
+.for ii in duration intonation lexicon lts phones phrasing syl token
+PLIST_FILES+= share/festival/lib/ogi_spanish/ogi_span_mx_${ii}.scm
+.endfor
+PLIST_DIRS= share/festival/lib/ogi_spanish
RESTRICTED= no-commercial-use
@@ -32,10 +41,16 @@ post-extract:
@ ${FIND} ${WRKSRC} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
pre-install:
- (${FIND} ${WRKSRC} -name CVS | ${XARGS} rm -rf)
+ (${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf)
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
+ ${MKDIR} ${DOCSDIR}
+.if !defined(NOPORTDOCS)
+.for ii in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKDIR}/${ii} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/audio/festogi-spanish/distinfo b/audio/festogi-spanish/distinfo
index 4995614fe956..1e3354805962 100644
--- a/audio/festogi-spanish/distinfo
+++ b/audio/festogi-spanish/distinfo
@@ -1,3 +1,2 @@
$FreeBSD$
-MD5 (festival/OGIspanish-2.0.tar.gz) = e44cd7f10b67b5d352c2d5ab3af0e562
-MD5 (festival/OGIspanish-2.0.tar.gz) = b9e36cead1e2794a422a21d6a13db790
+MD5 (festival/OGIspanish-2.0.1.tar.gz) = 0c0d9f60344a7b5a7677df43b1ffb330
diff --git a/audio/festogi-spanish/pkg-plist b/audio/festogi-spanish/pkg-plist
deleted file mode 100644
index 1cf8db6d1342..000000000000
--- a/audio/festogi-spanish/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/04 19:33:34 proff Exp $
-share/festival/lib/ogi_spanish/ogi_span_mx_duration.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_intonation.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_lexicon.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_lts.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_phones.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_phrasing.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_syl.scm
-share/festival/lib/ogi_spanish/ogi_span_mx_token.scm
-@dirrm share/festival/lib/ogi_spanish