freebsd-ports/audio/asterisk-espeak/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

55 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= espeak
PORTVERSION= 4.0
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= audio
MAINTAINER= madpilot@FreeBSD.org
COMMENT= Espeak dialplan application for Asterisk
LICENSE= GPLv2
LIB_DEPENDS= libespeak.so:audio/espeak \
libsamplerate.so:audio/libsamplerate
FLAVORS= asterisk13 asterisk15 asterisk16
FLAVOR?= ${FLAVORS[1]}
asterisk13_PKGNAMEPREFIX= asterisk13-
asterisk13_CONFLICTS_INSTALL= asterisk15-espeak asterisk16-espeak
asterisk13_BUILD_DEPENDS= asterisk:net/asterisk13
asterisk13_RUN_DEPENDS= asterisk:net/asterisk13
asterisk15_PKGNAMEPREFIX= asterisk15-
asterisk15_CONFLICTS_INSTALL= asterisk13-espeak asterisk16-espeak
asterisk15_BUILD_DEPENDS= asterisk:net/asterisk15
asterisk15_RUN_DEPENDS= asterisk:net/asterisk15
asterisk16_PKGNAMEPREFIX= asterisk16-
asterisk16_CONFLICTS_INSTALL= asterisk13-espeak asterisk15-espeak
asterisk16_BUILD_DEPENDS= asterisk:net/asterisk16
asterisk16_RUN_DEPENDS= asterisk:net/asterisk16
USES= compiler gmake localbase
INSTALL_TARGET= install samples
USE_GITHUB= yes
GH_ACCOUNT= zaf
GH_PROJECT= Asterisk-eSpeak
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == clang
CFLAGS+= -fblocks
.endif
post-patch:
@${REINPLACE_CMD} -e '/ASTERISK_REGISTER_FILE/d' \
${WRKSRC}/app_espeak.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/asterisk/modules/app_espeak.so
.include <bsd.port.post.mk>