aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-01-12 13:27:42 +0800
committervanilla <vanilla@FreeBSD.org>2003-01-12 13:27:42 +0800
commitcdbd763cd531fe6080de9c1ffb81623d71c6029b (patch)
tree31d21533604589a34ef8621c0b0eb11be70beaa8 /irc/irssi
parentbfc9a24d3bd87eec6741d0760b6e7c18351226d9 (diff)
downloadfreebsd-ports-gnome-cdbd763cd531fe6080de9c1ffb81623d71c6029b.tar.gz
freebsd-ports-gnome-cdbd763cd531fe6080de9c1ffb81623d71c6029b.tar.zst
freebsd-ports-gnome-cdbd763cd531fe6080de9c1ffb81623d71c6029b.zip
Add WITH_PROXY knob, and bump version.
Submitted by: Peter <peter@webdeveloping.nl>
Diffstat (limited to 'irc/irssi')
-rw-r--r--irc/irssi/Makefile9
-rw-r--r--irc/irssi/pkg-plist4
2 files changed, 12 insertions, 1 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 49793d3395d6..20125c8286f3 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= irssi
PORTVERSION= 0.8.6
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES+= irc # `+=' is for slave ports
MASTER_SITES= http://irssi.org/files/
@@ -24,6 +24,13 @@ CONFIGURE_ARGS+= --without-socks --without-bot --with-textui \
.include <bsd.port.pre.mk>
+.if defined(WITH_PROXY)
+CONFIGURE_ARGS+= --with-proxy
+PLIST_SUB+= WITH_PROXY=""
+.else
+PLIST_SUB+= WITH_PROXY="@comment "
+.endif
+
#.if ${OSVERSION} >= 400014
#CONFIGURE_ARGS+= --enable-ipv6
#.else
diff --git a/irc/irssi/pkg-plist b/irc/irssi/pkg-plist
index 8838a9317ad1..7e1c49b3f669 100644
--- a/irc/irssi/pkg-plist
+++ b/irc/irssi/pkg-plist
@@ -1,6 +1,10 @@
bin/irssi
etc/irssi.conf
etc/irssi.conf.sample
+%%WITH_PROXY%%/lib/irssi/modules/libirc_proxy.a
+%%WITH_PROXY%%/lib/irssi/modules/libirc_proxy.la
+%%WITH_PROXY%%/lib/irssi/modules/libirc_proxy.so
+%%WITH_PROXY%%/lib/irssi/modules/libirc_proxy.so.0
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Irssi.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Irssi/Irc.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Irssi/TextUI.pm