aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/hatop/Makefile
blob: 8e66f9d3e024e52b77747ced333703c6cc1953ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Jim Riggs <ports@christianserving.org>
# $FreeBSD$

PORTNAME=   hatop
PORTVERSION=    0.7.7
CATEGORIES= sysutils net
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= ports@christianserving.org
COMMENT=    Interactive real-time monitoring tool for the HAProxy unix socket

RUN_DEPENDS=    ${LOCALBASE}/sbin/haproxy:${PORTSDIR}/net/haproxy

USES=       python
NO_BUILD=   yes

LICENSE=    GPLv3

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>