freebsd-ports/audio/pocketsphinx/Makefile
2013-04-22 23:19:08 +00:00

38 lines
896 B
Makefile

# Created by: Richard Neese
# $FreeBSD$
PORTNAME= pocketsphinx
PORTVERSION= 0.8
CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Speech recognition system
LIB_DEPENDS= sphinxad:${PORTSDIR}/audio/sphinxbase
USES= pkgconfig
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS+= --without-python
CONFIGURE_ENV+= HAVE_DOXYGEN=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= MKDIR="${MKDIR}" \
OSVERSION=${OSVERSION}
MAN1= pocketsphinx_batch.1 \
pocketsphinx_continuous.1 \
pocketsphinx_mdef_convert.1
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e 's|^([[:space:]]+programs )\\$$|\1|;' \
-e '/[[:space:]]+gst-plugin$$/D;' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>