summaryrefslogtreecommitdiff
path: root/chat/ircII/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ircII/options.mk')
-rw-r--r--chat/ircII/options.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/chat/ircII/options.mk b/chat/ircII/options.mk
new file mode 100644
index 00000000000..9500bbde06a
--- /dev/null
+++ b/chat/ircII/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2005/06/02 22:21:18 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.ircII
+PKG_SUPPORTED_OPTIONS= # only socks group
+PKG_OPTIONS_OPTIONAL_GROUPS= socks
+PKG_OPTIONS_GROUP.socks= socks4 socks5
+
+.include "../../mk/bsd.options.mk"
+
+# Include SOCKS firewall support
+.if !empty(PKG_OPTIONS:Msocks4)
+.include "../../net/socks4/buildlink3.mk"
+CONFIGURE_ARGS+= --with-socks4=${BUILDLINK_PREFIX.socks4}
+.endif
+.if !empty(PKG_OPTIONS:Msocks5)
+.include "../../net/socks5/buildlink3.mk"
+CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_PREFIX.socks5}
+.endif