1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix shebangs

- Add NO_ARCH
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-02-26 19:23:44 +00:00
parent e2948e1219
commit 2851a93ae0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463041

View File

@ -3,7 +3,7 @@
PORTNAME= hatop
PORTVERSION= 0.7.7
PORTREVISION= 1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= sysutils net
@ -14,8 +14,10 @@ LICENSE= GPLv3+
RUN_DEPENDS= ${LOCALBASE}/sbin/haproxy:net/haproxy
USES= python:2.7
USES= python:2.7 shebangfix
SHEBANG_FILES= bin/hatop
NO_BUILD= yes
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= feurix
@ -29,7 +31,9 @@ OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/hatop ${STAGEDIR}${PREFIX}/bin/hatop
${INSTALL_MAN} ${WRKSRC}/man/hatop.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${DOCSDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>