freebsd-ports/sysutils/hatop/Makefile
Joseph Mingrone 9bf87ca056 sysutils/hatop: switch from Google code to GitHub, unmark BROKEN
Also
   - Update license to GPLv3+
   - Specify required python version 2, since 3.x is not supported

PR:		213477
Approved by:	swills (mentor)
2016-10-16 21:38:58 +00:00

34 lines
800 B
Makefile

# Created by: Jim Riggs <ports@christianserving.org>
# $FreeBSD$
PORTNAME= hatop
PORTVERSION= 0.7.7
DISTVERSIONPREFIX= v
CATEGORIES= sysutils net
MAINTAINER= ports@christianserving.org
COMMENT= Interactive real-time monitoring tool for the HAProxy unix socket
LICENSE= GPLv3+
RUN_DEPENDS= ${LOCALBASE}/sbin/haproxy:net/haproxy
USES= python:2
NO_BUILD= 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
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>