aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2007-03-11 09:52:32 +0800
committervanilla <vanilla@FreeBSD.org>2007-03-11 09:52:32 +0800
commit26172040fc84b00513e839e1d59d2b53bf53e346 (patch)
treee83bccf0a4a2fe7e56812458b45379a48c03fdb8 /irc/irssi
parent84c208648900cd34315c4047d7dbdfa8a10af0c2 (diff)
downloadfreebsd-ports-gnome-26172040fc84b00513e839e1d59d2b53bf53e346.tar.gz
freebsd-ports-gnome-26172040fc84b00513e839e1d59d2b53bf53e346.tar.zst
freebsd-ports-gnome-26172040fc84b00513e839e1d59d2b53bf53e346.zip
Fix pkg-plist with bot support.
PR: ports/110142 Submitted by: "John K."<cfactor_at_gmail_._com>
Diffstat (limited to 'irc/irssi')
-rw-r--r--irc/irssi/Makefile4
-rw-r--r--irc/irssi/pkg-plist1
2 files changed, 5 insertions, 0 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index d291371f6ce8..09ee97ec7155 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -72,6 +72,10 @@ BROKEN= This version of FreeBSD does not support IPv6. Please use WITH_IPV6=no
.if defined(WITH_BOT)
CONFIGURE_ARGS+= --with-bot
+PLIST_SUB+= WITH_BOT=""
+.else
+CONFIGURE_ARGS+= --without-bot
+PLIST_SUB+= WITH_BOT="@comment "
.endif
post-patch:
diff --git a/irc/irssi/pkg-plist b/irc/irssi/pkg-plist
index da365160b59e..66a52236af23 100644
--- a/irc/irssi/pkg-plist
+++ b/irc/irssi/pkg-plist
@@ -1,3 +1,4 @@
+%%WITH_BOT%%bin/botti
bin/irssi
etc/irssi.conf
etc/irssi.conf.sample