blob: 1dd2c4e3d48b8ec4abb28e7c6ea8643af40c5494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Richard Neese
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>
|