2011-07-06 20:42:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2011/07/07 00:42:04 ajacoutot Exp $
|
2009-06-07 03:18:39 -04:00
|
|
|
|
|
|
|
COMMENT= acoustic decoder for CMU Sphinx3 speech recognition system
|
|
|
|
|
|
|
|
DISTNAME= sphinx3-0.8
|
2010-09-05 06:25:16 -04:00
|
|
|
PKGNAME= cmu-${DISTNAME}
|
2011-07-06 20:42:04 -04:00
|
|
|
REVISION= 4
|
2009-06-07 03:18:39 -04:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
|
|
|
SHARED_LIBS= s3decoder 0.0
|
|
|
|
|
|
|
|
HOMEPAGE= http://cmusphinx.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Eric Faurot <eric@openbsd.org>
|
|
|
|
|
|
|
|
# CMU
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmusphinx/}
|
|
|
|
|
2011-07-06 20:42:04 -04:00
|
|
|
WANTLIB= blas c lapack m pthread sndio ${MODFORTRAN_WANTLIB} \
|
2010-09-05 06:25:16 -04:00
|
|
|
sphinxad sphinxbase
|
2009-06-07 03:18:39 -04:00
|
|
|
|
2010-05-23 09:11:38 -04:00
|
|
|
MODULES= converters/libiconv fortran
|
2010-10-23 11:09:57 -04:00
|
|
|
MODFORTRAN_COMPILER = g77
|
2009-06-07 03:18:39 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= audio/cmu-sphinxbase \
|
2010-05-23 09:11:38 -04:00
|
|
|
${MODFORTRAN_LIB_DEPENDS}
|
2009-06-07 03:18:39 -04:00
|
|
|
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
|
|
|
|
post-extract:
|
2010-04-26 03:13:37 -04:00
|
|
|
cp ${FILESDIR}/compare_table.pl ${WRKSRC}/src/tests/regression
|
2009-06-07 03:18:39 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|