Lines 2-43
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= chan_sccp |
4 |
PORTNAME= chan_sccp |
5 |
PORTVERSION= 4.2.3 |
5 |
PORTVERSION= 4.3.1 |
6 |
PORTREVISION= 1 |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= net |
7 |
CATEGORIES= net |
8 |
MASTER_SITES= SF/chan-sccp-b |
|
|
9 |
PKGNAMEPREFIX= asterisk- |
8 |
PKGNAMEPREFIX= asterisk- |
10 |
DISTNAME= Chan_SCCP-4.2.3_STABLE_r6728 |
|
|
11 |
|
9 |
|
12 |
MAINTAINER= ddegroot@talon.nl |
10 |
MAINTAINER= ddegroot@talon.nl |
13 |
COMMENT= Replacement for the SCCP channel driver in Asterisk |
11 |
COMMENT= Replacement for the SCCP channel driver in Asterisk |
14 |
|
12 |
|
15 |
LICENSE= GPLv1 |
13 |
LICENSE= GPLv1 |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
16 |
|
15 |
|
17 |
BUILD_DEPENDS= asterisk:net/asterisk13 |
16 |
OPTIONS_SINGLE= ASTVER |
18 |
RUN_DEPENDS= asterisk:net/asterisk13 |
17 |
ASTVER_DESC= Which asterisk to build for |
|
|
18 |
OPTIONS_SINGLE_ASTVER= AST13 AST15 |
19 |
AST13_DESC= Asterisk 13 |
20 |
AST13_BUILD_DEPENDS= asterisk:net/asterisk13 |
21 |
AST13_RUN_DEPENDS= asterisk:net/asterisk13 |
22 |
AST15_DESC= Asterisk 15 |
23 |
AST15_BUILD_DEPENDS= asterisk:net/asterisk15 |
24 |
AST15_RUN_DEPENDS= asterisk:net/asterisk15 |
19 |
|
25 |
|
|
|
26 |
OPTIONS_DEFINE= VIDEO CONFERENCE |
27 |
VIDEO_DESC= Enable Video Support |
28 |
CONFERENCE_DESC= Enable Conference Support |
29 |
|
30 |
OPTIONS_DEFAULT= AST13 VIDEO CONFERENCE |
31 |
|
32 |
USES= compiler iconv libtool autoreconf |
33 |
USE_GITHUB= yes |
34 |
GH_ACCOUNT= chan-sccp |
35 |
GH_PROJECT= chan-sccp |
36 |
|
20 |
GNU_CONFIGURE= yes |
37 |
GNU_CONFIGURE= yes |
21 |
USES= iconv compiler libtool |
38 |
CONFIGURE_ARGS+= --enable-advanced-functions \ |
22 |
CONFIGURE_ARGS+= --enable-video \ |
|
|
23 |
--enable-video-layer \ |
24 |
--enable-conference \ |
25 |
--enable-advanced-functions \ |
26 |
--with-hash-size=3001 \ |
39 |
--with-hash-size=3001 \ |
27 |
${ICONV_CONFIGURE_ARG} |
40 |
${ICONV_CONFIGURE_ARG} |
|
|
41 |
VIDEO_CONFIGURE_ENABLE= video |
42 |
CONFERENCE_CONFIGURE_ENABLE=conference |
28 |
|
43 |
|
|
|
44 |
INSTALL_TARGET= install-strip |
45 |
TEST_TARGET= check |
29 |
CPPFLAGS+= -I${ICONV_INCLUDE_PATH} |
46 |
CPPFLAGS+= -I${ICONV_INCLUDE_PATH} |
30 |
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} |
47 |
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} |
31 |
|
48 |
|
32 |
PLIST_FILES= lib/asterisk/modules/chan_sccp.so \ |
|
|
33 |
etc/asterisk/sccp.conf \ |
34 |
etc/asterisk/sccp.conf.annotated |
35 |
|
36 |
post-build: |
37 |
${STRIP_CMD} ${WRKSRC}/src/.libs/chan_sccp.so |
38 |
|
39 |
post-install: |
49 |
post-install: |
40 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk |
50 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk |
41 |
(cd ${WRKSRC}/conf && ${CP} sccp.conf sccp.conf.annotated ${STAGEDIR}${PREFIX}/etc/asterisk/) |
51 |
(cd ${WRKSRC}/conf && ${INSTALL_DATA} sccp.conf sccp.conf.* ${STAGEDIR}${PREFIX}/etc/asterisk/) |
42 |
|
52 |
|
43 |
.include <bsd.port.mk> |
53 |
.include <bsd.port.mk> |