- Remove leading indefinite article from COMMENT

- Convert to new LIB_DEPENDS format
- Convert to new options helper
- Fix USE_PYTHON_BUILD
- Support STAGEDIR

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-14 07:28:00 +00:00
parent 465da7f246
commit 5ae7e9d35d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348154
2 changed files with 6 additions and 12 deletions

View file

@ -7,9 +7,9 @@ CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= gaod@hychen.org
COMMENT= A better top(1) - interactive process viewer
COMMENT= Better top(1) - interactive process viewer
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
OPTIONS_DEFINE= LSOF
OPTIONS_DEFAULT=LSOF
@ -27,16 +27,9 @@ USES= ncurses
USE_AUTOTOOLS= autoconf aclocal automake libtool
ACLOCAL_ARGS= -I ${ACLOCAL_DIR}
USE_PYTHON_BUILD= 2
USE_PYTHON_BUILD= yes
MAN1= htop.1
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLSOF}
RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
.endif
LSOF_RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
post-patch:
@${REINPLACE_CMD} -e 's:/usr/bin/python:${PYTHON_CMD}:' ${WRKSRC}/scripts/MakeHeader.py

View file

@ -1,3 +1,4 @@
bin/htop
man/man1/htop.1.gz
share/applications/htop.desktop
share/pixmaps/htop.png