From 008b56f9c67d8cb40a4071b52540f63a8cc4ae0a Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Thu, 11 Feb 2016 19:37:17 +0000 Subject: [PATCH] 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 --- sysutils/htop/Makefile | 21 +++------------------ sysutils/htop/distinfo | 4 ++-- sysutils/htop/pkg-message | 6 ------ 3 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 sysutils/htop/pkg-message diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 5f6a2dd8b06d..3e8e9ea679e0 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -2,9 +2,7 @@ # $FreeBSD$ PORTNAME= htop -PORTVERSION= 1.0.3 -PORTREVISION= 1 -DISTVERSIONPREFIX=v +PORTVERSION= 2.0.0 CATEGORIES= sysutils MAINTAINER= gaod@hychen.org @@ -12,28 +10,15 @@ COMMENT= Better top(1) - interactive process viewer LICENSE= GPLv2 -OPTIONS_DEFINE= LSOF -OPTIONS_DEFAULT=LSOF - NOT_FOR_ARCHS= ia64 powerpc sparc64 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo -CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode -USES= autoreconf ncurses libtool execinfo python:2,build +CONFIGURE_ARGS= --enable-unicode +USES= autoreconf execinfo libtool ncurses python:2,build shebangfix USE_GITHUB= yes 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 diff --git a/sysutils/htop/distinfo b/sysutils/htop/distinfo index e2b72e91dd25..cc7a72aa7ba2 100644 --- a/sysutils/htop/distinfo +++ b/sysutils/htop/distinfo @@ -1,2 +1,2 @@ -SHA256 (hishamhm-htop-v1.0.3-5c593fa_GH0.tar.gz) = 756e995d4f1489d696205d938cf3cd4864f6c2a1f3569f771a55014e75ed4832 -SIZE (hishamhm-htop-v1.0.3-5c593fa_GH0.tar.gz) = 143341 +SHA256 (hishamhm-htop-2.0.0_GH0.tar.gz) = 2522a93792dfee188bfaff23f30332d1173460c95f9869588398e9bdd3a0491b +SIZE (hishamhm-htop-2.0.0_GH0.tar.gz) = 143353 diff --git a/sysutils/htop/pkg-message b/sysutils/htop/pkg-message deleted file mode 100644 index 74bc71001552..000000000000 --- a/sysutils/htop/pkg-message +++ /dev/null @@ -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 -***********************************************************