diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2008-06-10 08:30:35 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2008-06-10 08:30:35 +0000 |
commit | 11a4980acbe5fdd43a115aaf1193aa48a7ca7327 (patch) | |
tree | c92d06711091e9e641714a65a8f6212090922a0e /net/asterisk16/Makefile | |
parent | 2c0ce4cc4cda403694f8591e94bebe9b13f38373 (diff) | |
download | ports-11a4980acbe5fdd43a115aaf1193aa48a7ca7327.tar.gz ports-11a4980acbe5fdd43a115aaf1193aa48a7ca7327.zip |
Notes
Diffstat (limited to 'net/asterisk16/Makefile')
-rw-r--r-- | net/asterisk16/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile index e73b65096aec..467e5d26a99a 100644 --- a/net/asterisk16/Makefile +++ b/net/asterisk16/Makefile @@ -6,8 +6,7 @@ # PORTNAME= asterisk -PORTVERSION= 1.4.19.2 -PORTREVISION= 1 +PORTVERSION= 1.4.20.1 CATEGORIES= net MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \ http://ftp.digium.com/pub/asterisk/old-releases/ @@ -51,6 +50,7 @@ OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \ JABBER "Enable Jabber and Gtalk support" on \ SQLITE "Enable SQLITE support" on \ CODEC_PATCH "Apply codec negotiation patch" off \ + ILBC "Enable iLBC codec" off \ MISC_PATCHES "Apply additional patches" off .include <bsd.port.pre.mk> @@ -159,6 +159,13 @@ CONFIGURE_ARGS+= --with-sqlite LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2 .endif +.if defined(WITHOUT_ILBC) +PLIST_SUB+= WITH_ILBC="@comment " +.else +PLIST_SUB+= WITH_ILBC="" +EXTRA_PATCHES+= ${PATCHDIR}/ilbc_enable.diff +.endif + .if defined(WITH_CODEC_PATCH) PATCHFILES= asterisk-1.4.19-codec-negotiation-20080408.diff.gz PATCH_SITES= http://b2bua.org/chrome/site/ @@ -171,6 +178,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/nocodecnego-patch-Makefile EXTRA_PATCHES+= ${PATCHDIR}/dtmf_debug.diff EXTRA_PATCHES+= ${PATCHDIR}/feature_disconnect.diff EXTRA_PATCHES+= ${PATCHDIR}/sip_force_callid.diff +EXTRA_PATCHES+= ${PATCHDIR}/sip_set_auth.diff .if defined(WITH_CODEC_PATCH) EXTRA_PATCHES+= ${PATCHDIR}/rtp_force_dtmf-codecnego.diff .else @@ -178,6 +186,9 @@ EXTRA_PATCHES+= ${PATCHDIR}/rtp_force_dtmf-nocodecnego.diff .endif .endif +post-extract: + ${MKDIR} ${WRKSRC}/codecs/ilbc + post-patch: ${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample |