mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
c6fa4af61c
- Pass maintainership to submitter PR: 135205 Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: htop
|
|
# Date created: 27 August 2007
|
|
# Whom: Tony Shadwick <tshadwick@oss-solutions.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= htop
|
|
PORTVERSION= 0.8.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= yzlin@cs.nctu.edu.tw
|
|
COMMENT= A better top(1) - interactive process viewer
|
|
|
|
OPTIONS= LSOF "Enable lsof support" On
|
|
|
|
NOT_FOR_ARCHS= sparc64
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode
|
|
USE_AUTOTOOLS= autoconf:262 aclocal:19 automake:19 libtool:15
|
|
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
|
|
|
|
USE_PYTHON_BUILD= yes
|
|
|
|
MAN1= htop.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
|
|
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_LSOF)
|
|
RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's:/usr/bin/python:${LOCALBASE}/bin/python:' ${WRKSRC}/scripts/MakeHeader.py
|
|
|
|
pre-configure:
|
|
@[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; }
|
|
|
|
.include <bsd.port.post.mk>
|