freebsd-ports/sysutils/htop/Makefile
Tobias Kortkamp 3731c0940a 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)
2017-12-25 04:45:32 +00:00

31 lines
614 B
Makefile

# Created by: Tony Shadwick <tshadwick@oss-solutions.com>
# $FreeBSD$
PORTNAME= htop
PORTVERSION= 2.0.2
CATEGORIES= sysutils
MAINTAINER= gaod@hychen.org
COMMENT= Better top(1) - interactive process viewer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
LIBS+= -lexecinfo
CONFIGURE_ARGS= --enable-unicode
USES= autoreconf libtool ncurses
USE_GITHUB= yes
GH_ACCOUNT= hishamhm
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>