mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
sysutils/htop: Update to 2.0.0
- Update to 2.0.0 with native FreeBSD support - Remove sysutils/lsof dependency - Remove linprocfs dependency - Delete redundant pkg-message - Remove redundant GH_PROJECT - Refactor post-patch to use shebangfix Reviewed by: feld (mentor), koobs (mentor) Approved by: feld (mentor) Differential Revision: D5253
This commit is contained in:
parent
231eceade1
commit
008b56f9c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408696
3 changed files with 5 additions and 26 deletions
|
@ -2,9 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= htop
|
PORTNAME= htop
|
||||||
PORTVERSION= 1.0.3
|
PORTVERSION= 2.0.0
|
||||||
PORTREVISION= 1
|
|
||||||
DISTVERSIONPREFIX=v
|
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
|
|
||||||
MAINTAINER= gaod@hychen.org
|
MAINTAINER= gaod@hychen.org
|
||||||
|
@ -12,28 +10,15 @@ COMMENT= Better top(1) - interactive process viewer
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
OPTIONS_DEFINE= LSOF
|
|
||||||
OPTIONS_DEFAULT=LSOF
|
|
||||||
|
|
||||||
NOT_FOR_ARCHS= ia64 powerpc sparc64
|
NOT_FOR_ARCHS= ia64 powerpc sparc64
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LIBS+= -L${LOCALBASE}/lib -lexecinfo
|
LIBS+= -L${LOCALBASE}/lib -lexecinfo
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode
|
CONFIGURE_ARGS= --enable-unicode
|
||||||
USES= autoreconf ncurses libtool execinfo python:2,build
|
USES= autoreconf execinfo libtool ncurses python:2,build shebangfix
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= hishamhm
|
GH_ACCOUNT= hishamhm
|
||||||
GH_PROJECT= htop
|
|
||||||
GH_TAGNAME= 5c593fa
|
|
||||||
|
|
||||||
LSOF_RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -e 's:/usr/bin/python:${PYTHON_CMD}:' ${WRKSRC}/scripts/MakeHeader.py
|
|
||||||
|
|
||||||
pre-configure:
|
|
||||||
@[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; }
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (hishamhm-htop-v1.0.3-5c593fa_GH0.tar.gz) = 756e995d4f1489d696205d938cf3cd4864f6c2a1f3569f771a55014e75ed4832
|
SHA256 (hishamhm-htop-2.0.0_GH0.tar.gz) = 2522a93792dfee188bfaff23f30332d1173460c95f9869588398e9bdd3a0491b
|
||||||
SIZE (hishamhm-htop-v1.0.3-5c593fa_GH0.tar.gz) = 143341
|
SIZE (hishamhm-htop-2.0.0_GH0.tar.gz) = 143353
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
***********************************************************
|
|
||||||
htop(1) requires linprocfs(5) to be mounted. If you don't
|
|
||||||
have it mounted already, please add this line to /etc/fstab
|
|
||||||
and run `mkdir -p /usr/compat/linux/proc; ln -s /usr/compat /compat; mount linproc`:
|
|
||||||
linproc /compat/linux/proc linprocfs rw,late 0 0
|
|
||||||
***********************************************************
|
|
Loading…
Add table
Reference in a new issue