aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sphinxbase/Makefile
blob: 0cb09061b8ef829ed990e34df81569782e36a888 (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
# New ports collection makefile for:   sphinxbase
# Date created:        8 Jan 2008
# Whom:                r.neese
#
# $FreeBSD$
#

PORTNAME=   sphinxbase
PORTVERSION=    0.3
CATEGORIES= audio accessibility
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cmusphinx

MAINTAINER= r.neese@gmail.com
COMMENT=    CMU SPhinx Speech recognition system base

USE_LDCONFIG=   yes
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15 automake:19

CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

post-patch:
    @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.am

.include <bsd.port.mk>