aboutsummaryrefslogtreecommitdiff
path: root/irc/znc/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-10-23 15:52:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-10-23 15:52:36 +0000
commitdccab2315e40529b92d031859c6d98306de5fbf3 (patch)
treef175faf246f887f1595b57ca37ee18b7aaed4b63 /irc/znc/Makefile
parent03ca934875c6cabf56a007bbbea5a7136730c224 (diff)
downloadports-dccab2315e40529b92d031859c6d98306de5fbf3.tar.gz
ports-dccab2315e40529b92d031859c6d98306de5fbf3.zip
Notes
Diffstat (limited to 'irc/znc/Makefile')
-rw-r--r--irc/znc/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/irc/znc/Makefile b/irc/znc/Makefile
index f48e49969866..06bfea262cb2 100644
--- a/irc/znc/Makefile
+++ b/irc/znc/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= znc
-PORTVERSION= 0.098
+PORTVERSION= 0.202
CATEGORIES= irc ipv6
MASTER_SITES= http://znc.in/releases/
MAINTAINER= miwi@FreeBSD.org
COMMENT= An advanced IRC bouncer
+LICENSE= GPLv2
+
FETCH_ARGS?= -Fpr
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -20,7 +22,7 @@ USE_GNOME= gnomehack pkgconfig
WANT_PERL= yes
OPTIONS= DEBUG "Enable debugging" off \
- IPV6 "Enable IPv6 support" off \
+ IPV6 "Enable IPv6 support" on \
CARES "Use c-ares resolver library" off \
OPENSSL "Enable OpenSSL support" on \
EXTRA "Build extra modules" off \
@@ -28,7 +30,7 @@ OPTIONS= DEBUG "Enable debugging" off \
TCL "Enable TCL module support" off \
TCLALLOWALL "Allow non-admin users to load TCL module" off \
PYTHON "Enable Python module support" off \
- SASL "Enable SASL module support" off
+ SASL "Enable SASL module support (requires EXTRA)" off
.include <bsd.port.options.mk>
@@ -76,7 +78,7 @@ PLIST_SUB+= TCL="@comment "
.if defined(WITH_TCLALLOWALL)
.if defined(WITHOUT_TCL)
-IGNORE= tcl allow all support requires TCL. Please re-rerun 'make config' and enable TCL
+IGNORE= tcl allow all support requires TCL. Please re-run 'make config' and enable TCL
.endif
CXXFLAGS+= -DMOD_MODTCL_ALLOW_EVERYONE
.endif
@@ -85,13 +87,16 @@ CXXFLAGS+= -DMOD_MODTCL_ALLOW_EVERYONE
USE_PYTHON= 3.1
USE_PERL5_BUILD= yes
PLIST_SUB+= PYTHON=""
-CONFIGURE_ARGS+= --enable-python=${PYTHON_VERSION}-config
+CONFIGURE_ARGS+= --enable-python=python-${PYTHON_VER}
BUILD_DEPENDS+= swig>=1.3.40:${PORTSDIR}/devel/swig13
.else
PLIST_SUB+= PYTHON="@comment "
.endif
.if defined(WITH_SASL)
+.if defined(WITHOUT_EXTRA)
+IGNORE= sasl module requires EXTRA. Please re-run 'make config' and enable EXTRA
+.endif
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --enable-sasl
LDFLAGS+= -L${LOCALBASE}/lib