summaryrefslogtreecommitdiff
path: root/audio/sphinxbase/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-03-22 20:36:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-03-22 20:36:38 +0000
commitd58a3f6d331792ef970c227cbf50942300cb3301 (patch)
tree65e6e30b93c2c78f5596f69977e5de16aa4dc2e4 /audio/sphinxbase/Makefile
parent- Take maintainership, I use it a lot (diff)
Sphinx Base is part of a large-vocabulary, speaker-independent, continuous
speech recognition engine. This port is required for PocketSphinx and Sphinx3 Once the system is built, try running the Perl script sphinx-demo. The sphinx-test script should run sphinx-batch over an example utterance of "go forward ten meters." WWW: http://www.speech.cs.cmu.edu/sphinx/ PR: ports/121611 Submitted by: Richard Neese <r.neese@gmail.com>
Notes
Notes: svn path=/head/; revision=209595
Diffstat (limited to 'audio/sphinxbase/Makefile')
-rw-r--r--audio/sphinxbase/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/audio/sphinxbase/Makefile b/audio/sphinxbase/Makefile
new file mode 100644
index 000000000000..52e571c02346
--- /dev/null
+++ b/audio/sphinxbase/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: sphinxbase
+# Date created: 8 Jan 2008
+# Whom: r.neese
+#
+# $FreeBSD$
+#
+
+PORTNAME= sphinxbase
+PORTVERSION= 0.3
+CATEGORIES= audio accessibility
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= cmusphinx
+
+MAINTAINER= r.neese@gmail.com
+COMMENT= CMU SPhinx Speech recognition system base
+
+USE_LDCONFIG= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15 automake:19
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAKE_ENV= MKDIR="${MKDIR}" \
+ OSVERSION=${OSVERSION} \
+ CXX="${CXX}"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.am
+
+.include <bsd.port.mk>