svn commit: r457204 - head/sysutils/htop

Tobias Kortkamp tobik at FreeBSD.org
Mon Dec 25 04:45:34 UTC 2017


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 at 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 at 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/


More information about the svn-ports-head mailing list