mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
9bef23ecc2
With hat: portmgr
40 lines
876 B
Makefile
40 lines
876 B
Makefile
# Created by: Jim Riggs <ports@christianserving.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hatop
|
|
PORTVERSION= 0.7.7
|
|
PORTREVISION= 5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils net
|
|
|
|
MAINTAINER= mikeg@bsd-box.net
|
|
COMMENT= Interactive real-time monitoring tool for the HAProxy unix socket
|
|
|
|
LICENSE= GPLv3+
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/haproxy:net/haproxy
|
|
|
|
USES= python shebangfix
|
|
SHEBANG_FILES= bin/hatop
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= feurix
|
|
GH_PROJECT= hatop
|
|
|
|
PLIST_FILES= bin/hatop man/man1/hatop.1.gz
|
|
PORTDOCS= HACKING KEYBINDS README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/hatop ${STAGEDIR}${PREFIX}/bin/hatop
|
|
${INSTALL_MAN} ${WRKSRC}/man/hatop.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|