summaryrefslogtreecommitdiff
path: root/sysutils/htop/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2016-05-06 09:04:17 +0000
committerwiz <wiz>2016-05-06 09:04:17 +0000
commitf84eca01005046c660adbba13c36d2c887e47bd8 (patch)
tree031e6d7fc9e49cdb6b8a1cfd6398e8264f0cebb9 /sysutils/htop/Makefile
parenta6ae0462a865bd7634ddba40b3648c8d0a1c1a5f (diff)
downloadpkgsrc-f84eca01005046c660adbba13c36d2c887e47bd8.tar.gz
Updated htop to 2.0.1.
Update to 2.0.0 from coypu in wip, updated by myself to 2.0.1. What's new in version 2.0.1 * OpenBSD: Various fixes and improvements (thanks to Michael McConville and Juan Francisco Cantero Hurtado) * FreeBSD: fix CPU and memory readings (thanks to Tim Creech, Hung-Yi Chen, Bernard Spil, Greg V) * FreeBSD: add battery support (thanks to Greg V) * Linux: Retain last-obtained name of a zombie process * Mac OS X: Improve portability for OS X versions (thanks to Michael Klein) * Mac OS X: Fix reading command-line arguments and basename * Mac OS X: Fix process state information * Mac OS X: Fix tree view collapsing/expanding * Mac OS X: Fix tree organization * Mac OS X: Fix memory accounting * Fix crash when emptying a column of meters * Make Esc key more responsive * Plus assorted fixes What's new in version 2.0.0 * Platform abstraction layer * Initial FreeBSD support * Initial Mac OS X support (thanks to David Hunt) * Swap meter for Mac OSX (thanks to Ștefan Rusu) * OpenBSD port (thanks to Michael McConville) * FreeBSD support improvements (thanks to Martin Misuth) * Support for NCurses 6 ABI, including mouse wheel support * Much improved mouse responsiveness * Process environment variables screen (thanks to Michael Klein) * Higher-resolution UTF-8 based Graph mode (Thanks to James Hall from vtop for the idea!) * Show program path settings (thanks to Tobias Geerinckx-Rice) * BUGFIX: Fix crash when scrolling an empty filtered list. * Use dynamic units for text display, and several fixes (thanks to Christian Hesse) * BUGFIX: fix error caused by overflow in usertime calculation. (thanks to Patrick Marlier) * Catch all memory allocation errors (thanks to Michael McConville for the push) * Several tweaks and bugfixes (See the Git log for details and contributors!)
Diffstat (limited to 'sysutils/htop/Makefile')
-rw-r--r--sysutils/htop/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index 6bdded436c5..e40598a9b14 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -1,22 +1,27 @@
-# $NetBSD: Makefile,v 1.10 2015/08/20 13:38:25 jperkin Exp $
-#
+# $NetBSD: Makefile,v 1.11 2016/05/06 09:04:17 wiz Exp $
-DISTNAME= htop-1.0.1
-PKGREVISION= 1
+DISTNAME= htop-2.0.1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=htop/}
+MASTER_SITES= http://hisham.hm/htop/releases/2.0.1/
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://htop.sourceforge.net/
+HOMEPAGE= http://hisham.hm/htop/
COMMENT= Enhanced version of top utility
LICENSE= gnu-gpl-v2
+USE_TOOLS+= automake aclocal autoheader autoconf
GNU_CONFIGURE= yes
USE_NCURSES= yes # uses ncurses mouse definitions
USE_LIBTOOL= yes
-ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-*
+#ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-*
+
+pre-configure:
+ set -e; cd ${WRKSRC}; \
+ aclocal; \
+ autoconf; \
+ automake
.include "../../mk/bsd.prefs.mk"
@@ -25,8 +30,10 @@ ONLY_FOR_PLATFORM+= SunOS-*-*
CONFIGURE_ARGS+= --with-proc=/system/lxproc
.endif
+REPLACE_PYTHON+= scripts/MakeHeader.py
CONFIGURE_ENV+= ac_cv_file__proc_stat=yes ac_cv_file__proc_meminfo=yes
+.include "../../lang/python/application.mk"
.include "../../devel/ncursesw/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"