# 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= gmake pkgconfig NO_STAGE= yes USE_LDCONFIG= 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