mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
93d736292c
preparation for port expiration. asterisk 11.x will EOL on 2017-10-25 and is scheduled for removal. Please use the net/asterisk13 port.
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: Diederik de Groot
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= chan_sccp
|
|
PORTVERSION= 4.2.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/chan-sccp-b
|
|
PKGNAMEPREFIX= asterisk-
|
|
DISTNAME= Chan_SCCP-4.2.3_STABLE_r6728
|
|
|
|
MAINTAINER= ddegroot@talon.nl
|
|
COMMENT= Replacement for the SCCP channel driver in Asterisk
|
|
|
|
LICENSE= GPLv1
|
|
|
|
BUILD_DEPENDS= asterisk:net/asterisk13
|
|
RUN_DEPENDS= asterisk:net/asterisk13
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= iconv compiler libtool
|
|
CONFIGURE_ARGS+= --enable-video \
|
|
--enable-video-layer \
|
|
--enable-conference \
|
|
--enable-advanced-functions \
|
|
--with-hash-size=3001 \
|
|
${ICONV_CONFIGURE_ARG}
|
|
|
|
CPPFLAGS+= -I${ICONV_INCLUDE_PATH}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
|
|
|
PLIST_FILES= lib/asterisk/modules/chan_sccp.so \
|
|
etc/asterisk/sccp.conf \
|
|
etc/asterisk/sccp.conf.annotated
|
|
|
|
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>
|