diff options
-rw-r--r-- | sysutils/htop/Makefile | 4 | ||||
-rw-r--r-- | sysutils/htop/options.mk | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 667df905d8e..6ba97a73163 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -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_LIBTOOL= yes USE_TOOLS+= autoreconf automake USE_CURSES= getmouse +.include "options.mk" .include "../../mk/curses.buildlink3.mk" .if ${CURSES_TYPE} != "ncursesw" diff --git a/sysutils/htop/options.mk b/sysutils/htop/options.mk new file mode 100644 index 00000000000..315f1073d84 --- /dev/null +++ b/sysutils/htop/options.mk @@ -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" |