2007-08-30 20:46:01 +02:00
|
|
|
# New ports collection makefile for: htop
|
|
|
|
# Date created: 27 August 2007
|
|
|
|
# Whom: Tony Shadwick <tshadwick@oss-solutions.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= htop
|
2012-03-05 20:02:17 +01:00
|
|
|
PORTVERSION= 1.0.1
|
2012-05-29 23:22:56 +02:00
|
|
|
PORTREVISION= 1
|
2007-08-30 20:46:01 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
2011-08-08 12:50:01 +02:00
|
|
|
MAINTAINER= gaod@hychen.org
|
2007-08-30 20:46:01 +02:00
|
|
|
COMMENT= A better top(1) - interactive process viewer
|
|
|
|
|
2011-08-08 12:50:01 +02:00
|
|
|
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
|
|
|
|
|
2009-06-05 23:35:42 +02:00
|
|
|
OPTIONS= LSOF "Enable lsof support" On
|
|
|
|
|
2011-11-10 06:38:32 +01:00
|
|
|
NOT_FOR_ARCHS= ia64 powerpc sparc64
|
2007-11-18 09:45:35 +01:00
|
|
|
|
2007-08-30 20:46:01 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-08 12:50:01 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ENV= LIBS="-lexecinfo"
|
|
|
|
|
2008-07-18 06:14:47 +02:00
|
|
|
CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf aclocal automake libtool
|
2011-04-11 10:34:17 +02:00
|
|
|
USE_NCURSES= yes
|
2008-07-18 06:14:47 +02:00
|
|
|
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
|
|
|
|
|
|
|
|
USE_PYTHON_BUILD= yes
|
|
|
|
|
2007-08-30 20:46:01 +02:00
|
|
|
MAN1= htop.1
|
|
|
|
|
2008-07-18 06:14:47 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-06-05 23:35:42 +02:00
|
|
|
.if !defined(WITHOUT_LSOF)
|
|
|
|
RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
|
|
|
|
.endif
|
|
|
|
|
2008-07-18 06:14:47 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's:/usr/bin/python:${LOCALBASE}/bin/python:' ${WRKSRC}/scripts/MakeHeader.py
|
|
|
|
|
2007-09-03 10:48:04 +02:00
|
|
|
pre-configure:
|
|
|
|
@[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; }
|
2007-08-30 20:46:01 +02:00
|
|
|
|
2008-07-18 06:14:47 +02:00
|
|
|
.include <bsd.port.post.mk>
|