aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-14 07:28:00 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-14 07:28:00 +0000
commit5ae7e9d35d3730e405c334656ccce44fda002cf5 (patch)
tree3107b708b6c7eb14844e1d84620e770a0e4c0126 /sysutils
parent465da7f246287ce024ffcb7f2e8b344d1116fdfc (diff)
downloadports-5ae7e9d35d3730e405c334656ccce44fda002cf5.tar.gz
ports-5ae7e9d35d3730e405c334656ccce44fda002cf5.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/htop/Makefile17
-rw-r--r--sysutils/htop/pkg-plist1
2 files changed, 6 insertions, 12 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile
index d832860dfb02..23c8f83eaa58 100644
--- a/sysutils/htop/Makefile
+++ b/sysutils/htop/Makefile
@@ -7,12 +7,12 @@ CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= gaod@hychen.org
-COMMENT= A better top(1) - interactive process viewer
+COMMENT= Better top(1) - interactive process viewer
-LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
OPTIONS_DEFINE= LSOF
-OPTIONS_DEFAULT= LSOF
+OPTIONS_DEFAULT=LSOF
NOT_FOR_ARCHS= ia64 powerpc sparc64
@@ -27,16 +27,9 @@ USES= ncurses
USE_AUTOTOOLS= autoconf aclocal automake libtool
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
-USE_PYTHON_BUILD= 2
+USE_PYTHON_BUILD= yes
-MAN1= htop.1
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLSOF}
-RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
-.endif
+LSOF_RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
post-patch:
@${REINPLACE_CMD} -e 's:/usr/bin/python:${PYTHON_CMD}:' ${WRKSRC}/scripts/MakeHeader.py
diff --git a/sysutils/htop/pkg-plist b/sysutils/htop/pkg-plist
index 41c595b0a3ad..d925ab99a3b6 100644
--- a/sysutils/htop/pkg-plist
+++ b/sysutils/htop/pkg-plist
@@ -1,3 +1,4 @@
bin/htop
+man/man1/htop.1.gz
share/applications/htop.desktop
share/pixmaps/htop.png