aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-09-19 00:26:04 +0800
committermiwi <miwi@FreeBSD.org>2006-09-19 00:26:04 +0800
commit6ee96102b8c831f4ca0c8693a41d9c204d67c2fd (patch)
tree0b97eb3a6c2d2ddc8a4c0c85ee9b4a0fa18d59e7 /irc/irssi
parent3fe937553fd16aa86511fcb408cdd2892925b254 (diff)
downloadfreebsd-ports-gnome-6ee96102b8c831f4ca0c8693a41d9c204d67c2fd.tar.gz
freebsd-ports-gnome-6ee96102b8c831f4ca0c8693a41d9c204d67c2fd.tar.zst
freebsd-ports-gnome-6ee96102b8c831f4ca0c8693a41d9c204d67c2fd.zip
- Add irssi-theme knop
Approved by: vanilla@ (maintainer)
Diffstat (limited to 'irc/irssi')
-rw-r--r--irc/irssi/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 41346c9d7271..5f19320e4efd 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -27,7 +27,8 @@ OPTIONS= PERL "Enable perl support" on \
PROXY "Enable proxy support" off \
SOCKS "Enable socks proxy support" off \
IPV6 "Enable IPv6" on \
- BOT "Enable bot" off
+ BOT "Enable bot" off \
+ THEMES "Enable Themes"
# USE_OPENSSL must be defined before bsd.port.pre.mk so use old schema
# for WITH_SSL option
@@ -66,7 +67,7 @@ CONFIGURE_ARGS+= --with-socks
CONFIGURE_ARGS+= --enable-ipv6
CATEGORIES+= ipv6
.else
-BROKEN= "This version of FreeBSD does not support IPv6. Please use WITH_IPV6=no"
+BROKEN= This version of FreeBSD does not support IPv6. Please use WITH_IPV6=no
.endif
.endif
@@ -74,6 +75,10 @@ BROKEN= "This version of FreeBSD does not support IPv6. Please use WITH_IPV6=no"
CONFIGURE_ARGS+= --with-bot
.endif
+.if defined(WITH_THEMES)
+RUN_DEPENDS+= irssi-themes:${PORTSDIR}/x11-themes/irssi-themes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e 's|/etc|${PREFIX}&|' \
${WRKSRC}/docs/irssi.1