freebsd-ports/net/asterisk-chan_sccp/Makefile
Kurt Jaeger 066efc75ff 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>
2015-12-13 13:17:47 +00:00

53 lines
1.5 KiB
Makefile

# 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>