openbsd-ports/audio/cmu-sphinx3/Makefile
2011-07-07 00:42:04 +00:00

43 lines
932 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/07/07 00:42:04 ajacoutot Exp $
COMMENT= acoustic decoder for CMU Sphinx3 speech recognition system
DISTNAME= sphinx3-0.8
PKGNAME= cmu-${DISTNAME}
REVISION= 4
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/}
WANTLIB= blas c lapack m pthread sndio ${MODFORTRAN_WANTLIB} \
sphinxad sphinxbase
MODULES= converters/libiconv fortran
MODFORTRAN_COMPILER = g77
LIB_DEPENDS= audio/cmu-sphinxbase \
${MODFORTRAN_LIB_DEPENDS}
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
post-extract:
cp ${FILESDIR}/compare_table.pl ${WRKSRC}/src/tests/regression
.include <bsd.port.mk>