mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
46 lines
966 B
Makefile
46 lines
966 B
Makefile
# New ports collection makefile for: espeak
|
|
# Date created: 2006-03-25
|
|
# Whom: Nicola Vitale <nivit@email.it>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= espeak
|
|
PORTVERSION= 1.37
|
|
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>
|