2006-04-28 20:39:29 +00:00
|
|
|
# New ports collection makefile for: espeak
|
|
|
|
# Date created: 2006-03-25
|
|
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= espeak
|
2008-10-01 15:54:55 +00:00
|
|
|
PORTVERSION= 1.39
|
2006-04-28 20:39:29 +00:00
|
|
|
CATEGORIES= audio
|
2008-03-31 22:02:57 +00:00
|
|
|
MASTER_SITES= SF
|
2006-10-31 08:19:40 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
|
2006-04-28 20:39:29 +00:00
|
|
|
|
2006-12-10 01:21:51 +00:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
2006-04-28 20:39:29 +00:00
|
|
|
COMMENT= A software speech synthesizer
|
|
|
|
|
|
|
|
LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio
|
|
|
|
|
2006-04-29 09:59:09 +00:00
|
|
|
CONFLICTS= speak-1.[0-9]
|
2006-04-28 20:39:29 +00:00
|
|
|
|
|
|
|
MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" CPPFLAGS="${CPPFLAGS}" \
|
2008-07-25 09:08:42 +00:00
|
|
|
LDFLAGS="${LDFLAGS}"
|
2006-04-28 20:39:29 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2006-10-31 08:19:40 +00:00
|
|
|
USE_LDCONFIG= yes
|
2006-04-28 20:39:29 +00:00
|
|
|
USE_ZIP= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
2007-01-27 00:44:33 +00:00
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/src
|
2006-10-31 08:19:40 +00:00
|
|
|
|
2008-07-15 13:08:53 +00:00
|
|
|
REINPLACE_FILES= Makefile speech.h
|
|
|
|
REINPLACE_ARGS= -i.bak -e "s|%%DATADIR%%|${DATADIR}|g"
|
2006-04-28 20:39:29 +00:00
|
|
|
|
|
|
|
post-patch:
|
2008-07-15 13:08:53 +00:00
|
|
|
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} ${REINPLACE_FILES}
|
2006-04-28 20:39:29 +00:00
|
|
|
|
2007-01-27 00:44:33 +00:00
|
|
|
post-install:
|
2006-04-28 20:39:29 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2008-07-15 13:08:53 +00:00
|
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
|
2006-04-28 20:39:29 +00:00
|
|
|
.endif
|
|
|
|
|
2007-04-16 11:24:21 +00:00
|
|
|
.include <bsd.port.mk>
|