git: bbbd40cd1883 - main - */asterisk-*: Remove support for expired net/asterisk13

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 24 Oct 2021 18:32:25 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbbd40cd18836f3b8f3574e0cdb34a5c514e5346

commit bbbd40cd18836f3b8f3574e0cdb34a5c514e5346
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2021-10-24 18:30:53 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2021-10-24 18:31:48 +0000

    */asterisk-*: Remove support for expired net/asterisk13
---
 audio/asterisk-espeak/Makefile  |  7 +------
 audio/asterisk-flite/Makefile   |  7 +------
 net/asterisk-chan_sccp/Makefile | 11 ++---------
 net/asterisk-g72x/Makefile      | 10 +---------
 4 files changed, 5 insertions(+), 30 deletions(-)

diff --git a/audio/asterisk-espeak/Makefile b/audio/asterisk-espeak/Makefile
index c79b99781a0e..4e35c98f499d 100644
--- a/audio/asterisk-espeak/Makefile
+++ b/audio/asterisk-espeak/Makefile
@@ -12,14 +12,9 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libespeak.so:audio/espeak \
 		libsamplerate.so:audio/libsamplerate
 
-FLAVORS=			asterisk18 asterisk16 asterisk13
+FLAVORS=			asterisk18 asterisk16
 FLAVOR?=			${FLAVORS:[1]}
 
-asterisk13_PKGNAMEPREFIX=	asterisk13-
-asterisk13_CONFLICTS_INSTALL=	asterisk16-espeak asterisk18-espeak
-asterisk13_BUILD_DEPENDS=	asterisk:net/asterisk13
-asterisk13_RUN_DEPENDS=		asterisk:net/asterisk13
-
 asterisk16_PKGNAMEPREFIX=	asterisk16-
 asterisk16_CONFLICTS_INSTALL=	asterisk13-espeak asterisk18-espeak
 asterisk16_BUILD_DEPENDS=	asterisk:net/asterisk16
diff --git a/audio/asterisk-flite/Makefile b/audio/asterisk-flite/Makefile
index 9ca51fa25403..e4944e560b94 100644
--- a/audio/asterisk-flite/Makefile
+++ b/audio/asterisk-flite/Makefile
@@ -11,14 +11,9 @@ LICENSE=	GPLv2
 
 LIB_DEPENDS=	libflite.so:audio/flite
 
-FLAVORS=			asterisk18 asterisk16 asterisk13
+FLAVORS=			asterisk18 asterisk16
 FLAVOR?=			${FLAVORS:[1]}
 
-asterisk13_PKGNAMEPREFIX=	asterisk13-
-asterisk13_CONFLICTS_INSTALL=	asterisk16-flite asterisk18-flite
-asterisk13_BUILD_DEPENDS=	asterisk:net/asterisk13
-asterisk13_RUN_DEPENDS=		asterisk:net/asterisk13
-
 asterisk16_PKGNAMEPREFIX=	asterisk16-
 asterisk16_CONFLICTS_INSTALL=	asterisk13-flite asterisk18-flite
 asterisk16_BUILD_DEPENDS=	asterisk:net/asterisk16
diff --git a/net/asterisk-chan_sccp/Makefile b/net/asterisk-chan_sccp/Makefile
index 2b8ff66089da..54e41ada0574 100644
--- a/net/asterisk-chan_sccp/Makefile
+++ b/net/asterisk-chan_sccp/Makefile
@@ -13,7 +13,7 @@ COMMENT=	Replacement for the SCCP channel driver in Asterisk
 LICENSE=	GPLv1
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-FLAVORS=	asterisk18 asterisk16 asterisk13
+FLAVORS=	asterisk18 asterisk16
 FLAVOR?=	${FLAVORS:[1]}
 
 LIB_DEPENDS=	libltdl.so:devel/libltdl
@@ -40,11 +40,6 @@ PLIST_FILES=	etc/asterisk/sccp.conf.annotated \
 		lib/asterisk/modules/chan_sccp.so \
 		share/asterisk/documentation/thirdparty/chan_sccp-en_US.xml
 
-asterisk13_PKGNAMEPREFIX=	asterisk13-
-asterisk13_CONFLICTS_INSTALL=	asterisk16-chan_sccp asterisk18-chan_sccp
-asterisk13_BUILD_DEPENDS=	asterisk:net/asterisk13
-asterisk13_RUN_DEPENDS=		asterisk:net/asterisk13
-
 asterisk16_PKGNAMEPREFIX=	asterisk16-
 asterisk16_CONFLICTS_INSTALL=	asterisk13-chan_sccp asterisk18-chan_sccp
 asterisk16_BUILD_DEPENDS=	asterisk:net/asterisk16
@@ -63,9 +58,7 @@ VIDEO_DESC=			Enable Video Support
 CONFERENCE_CONFIGURE_ENABLE=	conference
 VIDEO_CONFIGURE_ENABLE=		video
 
-.if ${FLAVOR} == asterisk13
-CONFIGURE_ARGS+=		--with-asterisk-version=13
-.elif ${FLAVOR} == asterisk16
+.if ${FLAVOR} == asterisk16
 CONFIGURE_ARGS+=		--with-asterisk-version=16
 .elif ${FLAVOR} == asterisk18
 CONFIGURE_ARGS+=		--with-asterisk-version=18
diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile
index 20513d721117..8860954f4ad2 100644
--- a/net/asterisk-g72x/Makefile
+++ b/net/asterisk-g72x/Makefile
@@ -10,17 +10,9 @@ COMMENT=	G.729 codec for Asterisk PBX
 
 LIB_DEPENDS=	libbcg729.so:audio/bcg729
 
-FLAVORS=			asterisk18 asterisk16 asterisk13
+FLAVORS=			asterisk18 asterisk16
 FLAVOR?=			${FLAVORS:[1]}
 
-asterisk13_PKGNAMEPREFIX=	asterisk13-
-asterisk13_CONFLICTS_INSTALL=	asterisk16-g72x asterisk18-g72x
-asterisk13_BUILD_DEPENDS=	asterisk:net/asterisk13
-asterisk13_RUN_DEPENDS=		asterisk:net/asterisk13
-.if ${FLAVOR} == asterisk13
-CONFIGURE_ARGS+=		--with-asterisk130
-.endif
-
 asterisk16_PKGNAMEPREFIX=	asterisk16-
 asterisk16_CONFLICTS_INSTALL=	asterisk13-g72x asterisk18-g72x
 asterisk16_BUILD_DEPENDS=	asterisk:net/asterisk16