openbsd-ports/audio/cmu-sphinxbase/Makefile
2013-03-21 08:45:11 +00:00

40 lines
909 B
Makefile

# $OpenBSD: Makefile,v 1.9 2013/03/21 08:45:12 ajacoutot Exp $
COMMENT= common libraries for the CMU speech recognition engines
VERSION= 0.6
DISTNAME= sphinxbase-${VERSION}
PKGNAME= cmu-sphinxbase-${VERSION}
REVISION= 1
CATEGORIES= audio
SHARED_LIBS= sphinxbase 1.0 \
sphinxad 1.0
HOMEPAGE= http://cmusphinx.sourceforge.net/
MAINTAINER= Eric Faurot <eric@openbsd.org>
# CMU
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmusphinx/}
WANTLIB= blas c lapack m pthread sndio ${MODFORTRAN_WANTLIB}
MODULES= converters/libiconv fortran
MODFORTRAN_COMPILER = g77
LIB_DEPENDS= math/lapack \
${MODFORTRAN_LIB_DEPENDS}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-python
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib \
LIBS="-lblas -lm -lg2c -lsndio"
pre-build:
@cp ${FILESDIR}/ad_sndio.c ${WRKSRC}/src/libsphinxad/
.include <bsd.port.mk>