pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/htop htop: Add options for selecting curses type



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67b84148c785
branches:  trunk
changeset: 385715:67b84148c785
user:      kim <kim%pkgsrc.org@localhost>
date:      Sun Sep 25 09:53:28 2022 +0000

description:
htop: Add options for selecting curses type

Users can now select wide-curses for enabling unicode characters on NetBSD.

diffstat:

 sysutils/htop/Makefile   |   4 +++-
 sysutils/htop/options.mk |  10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r e3d944e782e7 -r 67b84148c785 sysutils/htop/Makefile
--- a/sysutils/htop/Makefile    Sun Sep 25 08:57:51 2022 +0000
+++ b/sysutils/htop/Makefile    Sun Sep 25 09:53:28 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2022/06/12 04:48:53 nia Exp $
+# $NetBSD: Makefile,v 1.30 2022/09/25 09:53:28 kim Exp $
 
 DISTNAME=      htop-3.2.1
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=htop-dev/}
 
@@ -14,6 +15,7 @@
 USE_TOOLS+=    autoreconf automake
 USE_CURSES=    getmouse
 
+.include "options.mk"
 .include "../../mk/curses.buildlink3.mk"
 
 .if ${CURSES_TYPE} != "ncursesw"
diff -r e3d944e782e7 -r 67b84148c785 sysutils/htop/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/htop/options.mk  Sun Sep 25 09:53:28 2022 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: options.mk,v 1.1 2022/09/25 09:53:28 kim Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.htop
+
+PKG_OPTIONS_REQUIRED_GROUPS+=  curses
+PKG_OPTIONS_GROUP.curses=      curses wide-curses
+
+PKG_SUGGESTED_OPTIONS=         curses
+
+.include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index