1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/audio/pocketsphinx/Makefile
Shaun Amott eee3c9c060 - Update pkg-descr, including project homepage.
- Pass maintainership to submitter.
- While here, set LICENSE.

PR:		218052
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com>
2017-03-28 21:22:13 +00:00

38 lines
824 B
Makefile

# Created by: Richard Neese
# $FreeBSD$
PORTNAME= pocketsphinx
PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
MAINTAINER= portmaster@bsdforge.com
COMMENT= Speech recognition system
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libsphinxad.so:audio/sphinxbase
USES= gmake pathfix pkgconfig libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-python
CONFIGURE_ENV+= HAVE_DOXYGEN=no
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= MKDIR="${MKDIR}" \
OSVERSION=${OSVERSION}
post-patch:
@${REINPLACE_CMD} -E -e 's|^([[:space:]]+programs )\\$$|\1|;' \
-e '/[[:space:]]+gst-plugin$$/D;' \
${WRKSRC}/src/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpocketsphinx.so
.include <bsd.port.mk>