From 2851a93ae0d7ad70130539d14d7673627e5899df Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 26 Feb 2018 19:23:44 +0000 Subject: [PATCH] - Fix shebangs - Add NO_ARCH - Switch to options helpers Approved by: portmgr blanket --- sysutils/hatop/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sysutils/hatop/Makefile b/sysutils/hatop/Makefile index 355a91296b47..17fb9fb0d1b4 100644 --- a/sysutils/hatop/Makefile +++ b/sysutils/hatop/Makefile @@ -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