aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk12/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2005-07-11 11:11:36 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2005-07-11 11:11:36 +0000
commite1edab3d7c2fb1c848a333e16d883ffe2055e9db (patch)
tree90c3c0b64031896025106d9973ed62e61b7268b0 /net/asterisk12/Makefile
parent2f6ec9e2696d5d25d8990f5f489c91adb651876e (diff)
Notes
Diffstat (limited to 'net/asterisk12/Makefile')
-rw-r--r--net/asterisk12/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index 9de27aaa038a..4c0d18d05948 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.0.7
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -74,6 +74,14 @@ PLIST_SUB+= WITH_ZAPTEL=""
USE_MYSQL= yes
.endif
+.if !defined(WITHOUT_FAX)
+MAKE_ENV+= WITH_FAX=1
+LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
+PLIST_SUB+= WITH_FAX=""
+.else
+PLIST_SUB+= WITH_FAX="@comment "
+.endif
+
post-patch:
${CP} ${FILESDIR}/chan_oss.c ${WRKSRC}/channels
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample