diff options
Diffstat (limited to 'audio/asterisk-flite/Makefile')
-rw-r--r-- | audio/asterisk-flite/Makefile | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/audio/asterisk-flite/Makefile b/audio/asterisk-flite/Makefile index 9f8e21f0e28c..1ae76763b0ae 100644 --- a/audio/asterisk-flite/Makefile +++ b/audio/asterisk-flite/Makefile @@ -1,7 +1,5 @@ PORTNAME= flite -PORTVERSION= 3.0 -DISTVERSIONPREFIX= v -PORTREVISION= 5 +DISTVERSION= 3.0.20230702 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org @@ -9,24 +7,26 @@ COMMENT= Flite dialplan application for Asterisk WWW= https://zaf.github.io/Asterisk-Flite/ LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libflite.so:audio/flite -FLAVORS= asterisk18 -FLAVOR?= ${FLAVORS:[1]} +FLAVORS= asterisk18 asterisk20 asterisk22 +FLAVOR?= ${FLAVORS:[3]} -asterisk18_PKGNAMEPREFIX= asterisk18- -asterisk18_BUILD_DEPENDS= asterisk:net/asterisk18 -asterisk18_RUN_DEPENDS= asterisk:net/asterisk18 +${FLAVOR}_PKGNAMEPREFIX= ${FLAVOR}- +${FLAVOR}_BUILD_DEPENDS= asterisk:net/${FLAVOR} +${FLAVOR}_RUN_DEPENDS= asterisk:net/${FLAVOR} USES= compiler:c11 gmake localbase -INSTALL_TARGET= install samples - USE_GITHUB= yes GH_ACCOUNT= zaf GH_PROJECT= Asterisk-Flite +GH_TAGNAME= a3ed85151a1c875471568a959dce1bb35cca109b -CONFLICTS_INSTALL= asterisk[0-9][0-9]-flite # etc/asterisk/flite.conf.sample +INSTALL_TARGET= install samples + +CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:C|(.+)|\1-${PORTNAME}|} # etc/asterisk/flite.conf.sample .include <bsd.port.pre.mk> @@ -34,10 +34,6 @@ CONFLICTS_INSTALL= asterisk[0-9][0-9]-flite # etc/asterisk/flite.conf.sample CFLAGS+= -fblocks .endif -post-patch: - @${REINPLACE_CMD} -e '/ASTERISK_REGISTER_FILE/d' \ - ${WRKSRC}/app_flite.c - post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/asterisk/modules/app_flite.so |