# $FreeBSD$ PORTNAME= asterisk-espeak PORTVERSION= 3.0 DISTVERSIONPREFIX= v CATEGORIES= audio MAINTAINER= madpilot@FreeBSD.org COMMENT= Espeak dialplan application for Asterisk LICENSE= GPLv2 LIB_DEPENDS= libespeak.so:audio/espeak \ libsamplerate.so:audio/libsamplerate USE_GITHUB= yes GH_ACCOUNT= zaf GH_PROJECT= Asterisk-eSpeak USES= compiler gmake localbase INSTALL_TARGET= install samples OPTIONS_SINGLE= ASTVER OPTIONS_SINGLE_ASTVER= ASTERISK11 ASTERISK13 OPTIONS_DEFAULT= ASTERISK13 ASTERISK11_DESC= Depend on Asterisk 11 ASTERISK13_DESC= Depend on Asterisk 13 ASTERISK11_BUILD_DEPENDS= asterisk:net/asterisk11 ASTERISK11_RUN_DEPENDS= asterisk:net/asterisk11 ASTERISK13_BUILD_DEPENDS= asterisk:net/asterisk13 ASTERISK13_RUN_DEPENDS= asterisk:net/asterisk13 .include .if ${CHOSEN_COMPILER_TYPE} == clang CFLAGS+= -fblocks .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/asterisk/modules/app_espeak.so .include