freebsd-ports/audio/pocketsphinx/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

31 lines
713 B
Makefile

# New ports collection makefile for: pocketsphinx
# Date created: 3 Jan 2008
# Whom: Richard Neese
#
# $FreeBSD$
#
PORTNAME= pocketsphinx
PORTVERSION= 0.4.1
CATEGORIES= audio accessibility
MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION}
MAINTAINER= r.neese@gmail.com
COMMENT= Speech recognition system
LIB_DEPENDS= sphinxfe.0:${PORTSDIR}/audio/sphinxbase
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/sphinxbase
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= MKDIR="${MKDIR}" \
OSVERSION=${OSVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>