| @@ -1,31 +1,25 @@ | | | @@ -1,31 +1,25 @@ |
1 | # $NetBSD: Makefile,v 1.30 2022/09/25 09:53:28 kim Exp $ | | 1 | # $NetBSD: Makefile,v 1.31 2022/10/04 07:14:57 kim Exp $ |
2 | | | 2 | |
3 | DISTNAME= htop-3.2.1 | | 3 | DISTNAME= htop-3.2.1 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 2 |
5 | CATEGORIES= sysutils | | 5 | CATEGORIES= sysutils |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=htop-dev/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=htop-dev/} |
7 | | | 7 | |
8 | MAINTAINER= nia@NetBSD.org | | 8 | MAINTAINER= nia@NetBSD.org |
9 | HOMEPAGE= https://htop.dev/ | | 9 | HOMEPAGE= https://htop.dev/ |
10 | COMMENT= Enhanced version of top utility | | 10 | COMMENT= Enhanced version of top utility |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | GNU_CONFIGURE= yes | | 13 | GNU_CONFIGURE= yes |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
15 | USE_TOOLS+= autoreconf automake | | 15 | USE_TOOLS+= autoreconf automake |
16 | USE_CURSES= getmouse | | 16 | USE_CURSES= getmouse |
17 | | | 17 | |
18 | .include "options.mk" | | 18 | .include "options.mk" |
19 | .include "../../mk/curses.buildlink3.mk" | | | |
20 | | | | |
21 | .if ${CURSES_TYPE} != "ncursesw" | | | |
22 | # See netbsd/README.md | | | |
23 | CONFIGURE_ARGS+= --disable-unicode | | | |
24 | .endif | | | |
25 | | | 19 | |
26 | pre-configure: | | 20 | pre-configure: |
27 | cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./autogen.sh | | 21 | cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./autogen.sh |
28 | | | 22 | |
29 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 23 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
30 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 24 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
31 | .include "../../mk/bsd.pkg.mk" | | 25 | .include "../../mk/bsd.pkg.mk" |