aboutsummaryrefslogtreecommitdiff
path: root/irc/irssi
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-18 16:26:04 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-18 16:26:04 +0000
commit200ebcd3303e6246426fd4e8e9faed6ce5590dc1 (patch)
tree848626dee0bf6a36ec0b1b1e85abdd00572effe4 /irc/irssi
parent77dff0638f9085aed7dd4ae90d51b6143daa8215 (diff)
downloadports-200ebcd3303e6246426fd4e8e9faed6ce5590dc1.tar.gz
ports-200ebcd3303e6246426fd4e8e9faed6ce5590dc1.zip
- Add irssi-theme knop
Approved by: vanilla@ (maintainer)
Notes
Notes: svn path=/head/; revision=173338
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