View | Details | Raw Unified | Return to bug 223972 | Differences between
and this patch

Collapse All | Expand All

(-)net/asterisk-chan_sccp/Makefile (-20 / +30 lines)
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=			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.annotated ${STAGEDIR}${PREFIX}/etc/asterisk/)
42
52
43
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)net/asterisk-chan_sccp/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (Chan_SCCP-4.2.3_STABLE_r6728.tar.gz) = 22d914c97594f74a482a7e14a069f61ff9d695d4cc271674ad54552778bb679d
1
SHA256 (chan-sccp-chan-sccp-v4.3.1_GH0.tar.gz) = 298ab065401fd2fdfbf4a91769fe2edeaf6464cc902f45cb20df248d70b62168
2
SIZE (Chan_SCCP-4.2.3_STABLE_r6728.tar.gz) = 1471165
2
SIZE (chan-sccp-chan-sccp-v4.3.1_GH0.tar.gz) = 1905363

Return to bug 223972