# Created by: Tony Shadwick <tshadwick@oss-solutions.com>
# $FreeBSD: tags/RELEASE_11_1_0/sysutils/htop/Makefile 431183 2017-01-11 14:14:54Z adamw $

PORTNAME=	htop
PORTVERSION=	2.0.2
CATEGORIES=	sysutils

MAINTAINER=	gaod@hychen.org
COMMENT=	Better top(1) - interactive process viewer

LICENSE=	GPLv2

RUN_DEPENDS=	lsof:sysutils/lsof

GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib -lexecinfo

CONFIGURE_ARGS=	--enable-unicode
USES=		autoreconf execinfo 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

.include <bsd.port.mk>
