1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/sysutils/htop/Makefile
Johannes Jost Meixner 1acdfd1d87 sysutils/htop: Restrict to Python 2.x
- restrict htop to build with python 2.7 only.

PR: 194446
Differential Revision:	https://reviews.freebsd.org/D1151
Submitted by: Andrew Berg <aberg010@my.hennepintech.edu>
Approved by: maintainer timeout (2+ weeks)
Approved by: koobs (mentor)
2014-11-13 05:28:42 +00:00

37 lines
905 B
Makefile

# Created by: Tony Shadwick <tshadwick@oss-solutions.com>
# $FreeBSD$
PORTNAME= htop
PORTVERSION= 1.0.3
CATEGORIES= sysutils
MASTER_SITES= http://hisham.hm/htop/releases/${PORTVERSION}/
MAINTAINER= gaod@hychen.org
COMMENT= Better top(1) - interactive process viewer
LICENSE= GPLv2
OPTIONS_DEFINE= LSOF
OPTIONS_DEFAULT=LSOF
NOT_FOR_ARCHS= ia64 powerpc sparc64
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lexecinfo
CONFIGURE_ARGS= --with-proc=/compat/linux/proc --enable-unicode
USES= ncurses libtool execinfo python:2,build
USE_AUTOTOOLS= autoconf aclocal automake
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
LSOF_RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
post-patch:
@${REINPLACE_CMD} -e 's:/usr/bin/python:${PYTHON_CMD}:' ${WRKSRC}/scripts/MakeHeader.py
pre-configure:
@[ -f /compat/linux/proc/stat ] || { ${CAT} ${PKGMESSAGE}; ${FALSE}; }
.include <bsd.port.mk>