summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-12-13 13:17:47 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-12-13 13:17:47 +0000
commit066efc75ff50061475f36312faa2df40e0b0ae04 (patch)
tree3f8c3b403655480c020ee1e7355a4c9c81884202
parentlang/pypy: unbreak build on i386 and armv6 (diff)
New port: net/asterisk-chan_sccp
Replacement for the SCCP channel driver in Asterisk. Extended features include: - Shared Lines, - Presence / BLF, - Customizable Feature Buttons, - Custom Device State. - Conference with Phone-UI WWW: https://sourceforge.net/projects/chan-sccp-b PR: 204346 Submitted by: Diederik de Groot <ddegroot@talon.nl>
Notes
Notes: svn path=/head/; revision=403665
-rw-r--r--net/Makefile1
-rw-r--r--net/asterisk-chan_sccp/Makefile53
-rw-r--r--net/asterisk-chan_sccp/distinfo2
-rw-r--r--net/asterisk-chan_sccp/pkg-descr9
4 files changed, 65 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 6334f4c9a1c4..8c362f26b8ff 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -27,6 +27,7 @@
SUBDIR += asio
SUBDIR += aslookup
SUBDIR += asterisk
+ SUBDIR += asterisk-chan_sccp
SUBDIR += asterisk-g72x
SUBDIR += asterisk11
SUBDIR += asterisk13
diff --git a/net/asterisk-chan_sccp/Makefile b/net/asterisk-chan_sccp/Makefile
new file mode 100644
index 000000000000..f9209d520fb4
--- /dev/null
+++ b/net/asterisk-chan_sccp/Makefile
@@ -0,0 +1,53 @@
+# Created by: Diederik de Groot
+# $FreeBSD$
+
+PORTNAME= chan_sccp
+PORTVERSION= 4.2.1
+CATEGORIES= net
+MASTER_SITES= SF/chan-sccp-b/V4/
+PKGNAMEPREFIX= asterisk-
+DISTNAME= Chan_SCCP-4.2.1_STABLE_r6370
+
+MAINTAINER= ddegroot@talon.nl
+COMMENT= Replacement for the SCCP channel driver in Asterisk
+
+LICENSE= GPLv1
+
+GNU_CONFIGURE= yes
+USES= iconv compiler libtool
+CONFIGURE_ARGS+= --enable-video --enable-video-layer
+CONFIGURE_ARGS+= --enable-conference --enable-advanced-functions
+CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG}
+NO_OPTIONS_SORT= yes
+
+LDFLAGS+= -L${LOCALBASE}/lib
+
+PLIST_FILES= lib/asterisk/modules/chan_sccp.so \
+ etc/asterisk/sccp.conf \
+ etc/asterisk/sccp.conf.annotated
+
+OPTIONS_SINGLE= ASTVER
+OPTIONS_SINGLE_ASTVER= ASTERISK18 ASTERISK11 ASTERISK13
+OPTIONS_DEFAULT= ASTERISK13
+
+ASTERISK18_DESC= Depend on Asterisk 1.8
+ASTERISK11_DESC= Depend on Asterisk 11
+ASTERISK13_DESC= Depend on Asterisk 13
+
+ASTERISK18_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
+ASTERISK18_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
+
+ASTERISK11_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk11
+ASTERISK11_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk11
+
+ASTERISK13_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13
+ASTERISK13_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13
+
+post-build:
+ ${STRIP_CMD} ${WRKSRC}/src/.libs/chan_sccp.so
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk
+ (cd ${WRKSRC}/conf && ${CP} sccp.conf sccp.conf.annotated ${STAGEDIR}${PREFIX}/etc/asterisk/)
+
+.include <bsd.port.mk>
diff --git a/net/asterisk-chan_sccp/distinfo b/net/asterisk-chan_sccp/distinfo
new file mode 100644
index 000000000000..a0b049930d50
--- /dev/null
+++ b/net/asterisk-chan_sccp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Chan_SCCP-4.2.1_STABLE_r6370.tar.gz) = a5301446cc8bb6e036319a6a04983b18cb873b24aa0efd089b49a3e4f83cbe4d
+SIZE (Chan_SCCP-4.2.1_STABLE_r6370.tar.gz) = 1350462
diff --git a/net/asterisk-chan_sccp/pkg-descr b/net/asterisk-chan_sccp/pkg-descr
new file mode 100644
index 000000000000..512a908004ad
--- /dev/null
+++ b/net/asterisk-chan_sccp/pkg-descr
@@ -0,0 +1,9 @@
+Replacement for the SCCP channel driver in Asterisk.
+Extended features include:
+ - Shared Lines
+ - Presence / BLF
+ - Customizable Feature Buttons
+ - Custom Device State
+ - Conference with Phone-UI
+
+WWW: https://sourceforge.net/projects/chan-sccp-b