Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 2017 04:45:32 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r457204 - head/sysutils/htop
Message-ID:  <201712250445.vBP4jWNm076514@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Mon Dec 25 04:45:32 2017
New Revision: 457204
URL: https://svnweb.freebsd.org/changeset/ports/457204

Log:
  sysutils/htop: Add a new default LSOF option
  
  htop only requires lsof for its open files view.  Move the lsof run
  dependency to an option so that it can be removed by users.
  
  While here
  
  - Add LICENSE_FILE
  - Follow http://htop.sourceforge.net/ redirect to
    http://hisham.hm/htop/ and update WWW
  
  PR:		224241
  Approved by:	gaod@hychen.org (maintainer timeout, 2 weeks)

Modified:
  head/sysutils/htop/Makefile
  head/sysutils/htop/pkg-descr

Modified: head/sysutils/htop/Makefile
==============================================================================
--- head/sysutils/htop/Makefile	Mon Dec 25 01:38:38 2017	(r457203)
+++ head/sysutils/htop/Makefile	Mon Dec 25 04:45:32 2017	(r457204)
@@ -9,9 +9,8 @@ MAINTAINER=	gaod@hychen.org
 COMMENT=	Better top(1) - interactive process viewer
 
 LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	lsof:sysutils/lsof
-
 GNU_CONFIGURE=	yes
 LIBS+=		-lexecinfo
 
@@ -23,5 +22,10 @@ PLIST_FILES=	bin/htop \
 		man/man1/htop.1.gz \
 		share/applications/htop.desktop \
 		share/pixmaps/htop.png
+
+OPTIONS_DEFINE=		LSOF
+OPTIONS_DEFAULT=	LSOF
+
+LSOF_RUN_DEPENDS=	lsof:sysutils/lsof
 
 .include <bsd.port.mk>

Modified: head/sysutils/htop/pkg-descr
==============================================================================
--- head/sysutils/htop/pkg-descr	Mon Dec 25 01:38:38 2017	(r457203)
+++ head/sysutils/htop/pkg-descr	Mon Dec 25 04:45:32 2017	(r457204)
@@ -17,4 +17,4 @@ Comparison between 'htop' and 'top'
 	* In 'htop' you can kill multiple processes at once.
 	* 'top' is older, hence, more tested.
 
-WWW: http://htop.sourceforge.net/
+WWW: http://hisham.hm/htop/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712250445.vBP4jWNm076514>