1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/audio/espeak/Makefile

46 lines
966 B
Makefile
Raw Normal View History

# 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
CATEGORIES= audio
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= nivit@FreeBSD.org
COMMENT= A software speech synthesizer
LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio
CONFLICTS= speak-1.[0-9]
MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_ZIP= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
REINPLACE_FILES= Makefile speech.h
REINPLACE_ARGS= -i.bak -e "s|%%DATADIR%%|${DATADIR}|g"
post-patch:
cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} ${REINPLACE_FILES}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.mk>