aboutsummaryrefslogtreecommitdiffstats
path: root/audio/flite/Makefile
blob: fb86871abe7852a967ba126ac002e8494b3aa8e9 (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
# New ports collection makefile for:    flite
# Date created:             18 December 2004
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   flite
PORTVERSION=    1.4
CATEGORIES= audio
MASTER_SITES=   http://www.speech.cs.cmu.edu/flite/packed/${PORTNAME}-${PORTVERSION}/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-release

MAINTAINER= sobomax@FreeBSD.org
COMMENT=    A small run-time speech synthesis engine

USE_GMAKE=  yes
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-shared=yes
USE_LDCONFIG=   yes

MAKE_JOBS_UNSAFE=   yes

CFLAGS:=    ${CFLAGS:N-O:N-O[0123456789]} -O0

post-patch:
    @${REINPLACE_CMD} -e 's|-pd|-p|g' ${WRKSRC}/main/Makefile

.ifndef NOPORTDOCS
post-install:
    @${MKDIR} ${DOCSDIR}/
    ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/
.endif

.include <bsd.port.mk>