2012-12-07 22:26:41 +00:00
|
|
|
# Created by: Richard Neese
|
2008-03-22 20:38:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sphinx3
|
2012-12-14 17:09:21 +00:00
|
|
|
PORTVERSION= 0.8
|
2008-03-22 20:38:18 +00:00
|
|
|
CATEGORIES= audio accessibility
|
2009-08-22 00:13:26 +00:00
|
|
|
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
|
2008-03-22 20:38:18 +00:00
|
|
|
|
2012-12-07 22:26:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-03-22 20:38:18 +00:00
|
|
|
COMMENT= Speech recognition system
|
|
|
|
|
2012-09-25 19:20:14 +00:00
|
|
|
LIB_DEPENDS= sphinxbase:${PORTSDIR}/audio/sphinxbase
|
|
|
|
|
2008-03-22 20:38:18 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GMAKE= yes
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS=libtool
|
2012-12-14 17:09:21 +00:00
|
|
|
USE_CSTD= gnu99
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2008-03-22 20:38:18 +00:00
|
|
|
|
2012-12-14 17:09:21 +00:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-03-22 20:38:18 +00:00
|
|
|
|
|
|
|
MAKE_ENV= MKDIR="${MKDIR}" \
|
2008-07-25 09:08:42 +00:00
|
|
|
OSVERSION=${OSVERSION}
|
2008-03-22 20:38:18 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|