summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-08-24 14:05:21 +0000
committerkhorben <khorben@pkgsrc.org>2017-08-24 14:05:21 +0000
commita77ed72fc765132334d089ba5f3f012a50840f59 (patch)
tree0bf4f8fd5704be737dc310061bb295bb6ef26989 /chat
parentf8b482d5288e82a63c855a7b0798c2f5cc3c745f (diff)
downloadpkgsrc-a77ed72fc765132334d089ba5f3f012a50840f59.tar.gz
Add support for 256 colors in irssi
This even makes it an option, to disable it if necessary. It is enabled by default here since it remains disabled by default at run-time: /set colors_ansi_24bit Bumps PKGREVISION. "Go for it" maya@
Diffstat (limited to 'chat')
-rw-r--r--chat/irssi/Makefile3
-rw-r--r--chat/irssi/options.mk10
2 files changed, 9 insertions, 4 deletions
diff --git a/chat/irssi/Makefile b/chat/irssi/Makefile
index 1e98e8f8772..54e65cdd608 100644
--- a/chat/irssi/Makefile
+++ b/chat/irssi/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2017/06/07 04:41:41 snj Exp $
+# $NetBSD: Makefile,v 1.83 2017/08/24 14:05:21 khorben Exp $
DISTNAME= ${IRSSI_DISTNAME}
+PKGREVISION= 1
CATEGORIES= chat
EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
diff --git a/chat/irssi/options.mk b/chat/irssi/options.mk
index 60599a0ceb3..2e73941ad0f 100644
--- a/chat/irssi/options.mk
+++ b/chat/irssi/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.17 2017/04/27 00:57:03 maya Exp $
+# $NetBSD: options.mk,v 1.18 2017/08/24 14:05:21 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.irssi
-PKG_SUPPORTED_OPTIONS= ssl perl
-PKG_SUGGESTED_OPTIONS= ssl perl
+PKG_SUPPORTED_OPTIONS= ssl perl truecolor
+PKG_SUGGESTED_OPTIONS= ssl perl truecolor
.include "../../mk/bsd.options.mk"
@@ -27,3 +27,7 @@ CONFIGURE_ARGS+= --with-perl=no
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
+
+.if !empty(PKG_OPTIONS:Mtruecolor)
+CONFIGURE_ARGS+= --enable-true-color
+.endif