diff options
Diffstat (limited to 'net/asterisk-g72x')
-rw-r--r-- | net/asterisk-g72x/Makefile | 29 | ||||
-rw-r--r-- | net/asterisk-g72x/distinfo | 6 |
2 files changed, 17 insertions, 18 deletions
diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile index 2889e6b49106..fd000062c799 100644 --- a/net/asterisk-g72x/Makefile +++ b/net/asterisk-g72x/Makefile @@ -1,6 +1,5 @@ PORTNAME= g72x -PORTVERSION= 1.4.3 -PORTREVISION= 5 +DISTVERSION= 1.4.4 CATEGORIES= net MASTER_SITES= http://asterisk.hosting.lv/src/ DISTNAME= asterisk-${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} @@ -9,22 +8,22 @@ MAINTAINER= ports@FreeBSD.org COMMENT= G.729 codec for Asterisk PBX WWW= http://asterisk.hosting.lv/ +LICENSE= GPLv3+ + LIB_DEPENDS= libbcg729.so:audio/bcg729 -FLAVORS= asterisk18 -FLAVOR?= ${FLAVORS:[1]} +FLAVORS= asterisk18 asterisk20 asterisk22 +FLAVOR?= ${FLAVORS:[3]} -asterisk18_PKGNAMEPREFIX= asterisk18- -asterisk18_CONFLICTS_INSTALL= asterisk13-g72x asterisk16-g72x -asterisk18_BUILD_DEPENDS= asterisk:net/asterisk18 -asterisk18_RUN_DEPENDS= asterisk:net/asterisk18 -.if ${FLAVOR} == asterisk18 -CONFIGURE_ARGS+= --with-asterisk160 -.endif +${FLAVOR}_PKGNAMEPREFIX= ${FLAVOR}- +${FLAVOR}_BUILD_DEPENDS= asterisk:net/${FLAVOR} +${FLAVOR}_RUN_DEPENDS= asterisk:net/${FLAVOR} +USES= autoreconf compiler:c11 libtool tar:bzip2 GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --with-bcg729 -USES= autoreconf compiler:c11 libtool localbase tar:bzip2 +CONFIGURE_ARGS= --with-asterisk160 --with-bcg729 + +CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:C|(.+)|\1-${PORTNAME}|} PLIST_FILES= lib/asterisk/modules/codec_g729.so @@ -34,7 +33,7 @@ PLIST_FILES= lib/asterisk/modules/codec_g729.so CFLAGS+= -fblocks .endif -post-build: - ${STRIP_CMD} ${WRKSRC}/.libs/codec_g729.so +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/asterisk/modules/codec_g729.so .include <bsd.port.post.mk> diff --git a/net/asterisk-g72x/distinfo b/net/asterisk-g72x/distinfo index fbe6aa7f2e35..f506c1888cba 100644 --- a/net/asterisk-g72x/distinfo +++ b/net/asterisk-g72x/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1539248414 -SHA256 (asterisk-g72x-1.4.3.tar.bz2) = ffea55374c2134415569b876a68d9a12ce376146a22fad3963c8edc281052adf -SIZE (asterisk-g72x-1.4.3.tar.bz2) = 126220 +TIMESTAMP = 1753300000 +SHA256 (asterisk-g72x-1.4.4.tar.bz2) = f44bf2758c68e4c14775f99bca2c8b1719f736f1c5ae5c47e2237f36681a795d +SIZE (asterisk-g72x-1.4.4.tar.bz2) = 126735 |