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