summaryrefslogtreecommitdiffstats
path: root/accessibility/gnome-speech/Makefile
blob: 664494fe9f51f9722efb8da46219faf65c2aa294 (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
36
37
38
# New ports collection makefile for:    gnomespeech
# Date created:         11 May 2003
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/accessibility/gnome-speech/Makefile,v 1.18 2006/07/10 01:58:38 marcus Exp $
#

PORTNAME=   gnome-speech
PORTVERSION=    0.4.2
CATEGORIES= accessibility audio gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

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

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack libbonobo
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"

.include <bsd.port.pre.mk>

.if exists(${LOCALBASE}/bin/festival)
WITH_FESTIVAL=  yes
.endif

.if defined(WITH_FESTIVAL)
RUN_DEPENDS=    festival:${PORTSDIR}/audio/festival
.endif

.include <bsd.port.post.mk>