openbsd-ports/audio/cmu-sphinxbase/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

44 lines
1000 B
Makefile

# $OpenBSD: Makefile,v 1.7 2010/11/15 00:22:46 espie 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
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}
MODULES= converters/libiconv fortran
MODFORTRAN_COMPILER = g77
USE_LIBTOOL= Yes
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>