summaryrefslogtreecommitdiffstats
path: root/accessibility/gnomespeech/Makefile
blob: 7193361c191f031d67fa45ebf5bc8d6504a7b4fb (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
32
33
34
35
# New ports collection makefile for:    gnomespeech
# Date created:         11 May 2003
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnomespeech
PORTVERSION=    0.2.1
CATEGORIES= audio gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome_speech/0.2
DISTNAME=   gnome_speech-${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME text-to-speech API

RUN_DEPENDS=    festival:${PORTSDIR}/audio/festival

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix libbonobo
USE_REINPLACE=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>