summaryrefslogtreecommitdiff
path: root/audio/festival
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-06-06 03:08:18 +0000
committerminskim <minskim@pkgsrc.org>2005-06-06 03:08:18 +0000
commit8d3c310b0e9358fc19d17fc555c8967f5b7a16ab (patch)
treefb15b1823a8c2da97853c6d68c2f7539f0571ff4 /audio/festival
parent50b3f4dfca18c10440d57af6dbf89b3ac6984548 (diff)
downloadpkgsrc-8d3c310b0e9358fc19d17fc555c8967f5b7a16ab.tar.gz
Copy files only when they exist.
Diffstat (limited to 'audio/festival')
-rw-r--r--audio/festival/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/festival/Makefile b/audio/festival/Makefile
index 44479698a7a..dc17fb70bfd 100644
--- a/audio/festival/Makefile
+++ b/audio/festival/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2005/06/01 18:02:37 jlam Exp $
+# $NetBSD: Makefile,v 1.41 2005/06/06 03:08:18 minskim Exp $
DISTNAME= festival-1.95-beta
PKGNAME= festival-1.95beta
@@ -66,8 +66,10 @@ MAKE_ENV+= PKG_EST_HOME="${SPEECHTOOLS}" \
post-patch:
@${CP} ${FILESDIR}/top-Makefile ${WRKSRC}/Makefile
+.if exists(${FILESDIS}/unknown_${OPSYS}.mak)
@${CP} ${FILESDIR}/unknown_${OPSYS}.mak ${SPEECHTOOLS}/config/systems/unknown_${OPSYS}.mak
@${CP} ${FILESDIR}/unknown_${OPSYS}.mak ${FESTIVAL}/config/systems/unknown_${OPSYS}.mak
+.endif
do-configure:
cd ${SPEECHTOOLS} && ${ENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}