aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sphinx3/Makefile
blob: de694f38de11bc5ed3854926dda650da206dede4 (plain) (blame)
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
# Created by: Richard Neese
# $FreeBSD$

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>