summaryrefslogtreecommitdiff
path: root/audio/sphinx3/Makefile
blob: 8ba9c6e0263379cf8f991dded93d9c49db6e9269 (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
PORTNAME=	sphinx3
PORTVERSION=	0.8
PORTREVISION=	2
CATEGORIES=	audio accessibility
MASTER_SITES=	SF/cmusphinx/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Speech recognition system

LIB_DEPENDS=	libsphinxbase.so:audio/sphinxbase

USES=		gmake pathfix libtool
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_CSTD=	gnu99
MAKE_JOBS_UNSAFE=	yes

CFLAGS+=	-I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
CXXFLAGS+=	-I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
LDFLAGS+=	-L${LOCALBASE}/lib

MAKE_ENV=	MKDIR="${MKDIR}" \
		OSVERSION=${OSVERSION}

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libs3decoder.so

.include <bsd.port.mk>