# New ports collection makefile for:	flite
# Date created:				18 December 2004
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD: ports/audio/flite/Makefile,v 1.6 2009/04/06 18:42:11 itetcu Exp $
#

PORTNAME=	flite
PORTVERSION=	1.3
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
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-shared=yes
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

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

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

.include <bsd.port.post.mk>
