blob: a8bd2b353d73b7ad48e3878dda939cd61959486d (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
# $FreeBSD$
PORTNAME= hastmon
PORTVERSION= 0.3.1
CATEGORIES= net-mgmt
MASTER_SITES= GOOGLE_CODE
MAINTAINER= trociny@FreeBSD.org
COMMENT= Cluster monitoring daemon
LICENSE= BSD
BUILD_DEPENDS= mk-configure>=0.20:${PORTSDIR}/devel/mk-configure
MKCMAKE?= ${LOCALBASE}/bin/mkcmake
INSTALL_TARGET= installdirs install
PORTDOCS= ChangeLog COPYRIGHT README
MAN5= hastmon.conf.5
MAN8= hastmon.8 hastmonctl.8
PLIST_FILES= sbin/hastmon \
sbin/hastmonctl \
etc/rc.d/hastmon
NO_STAGE= yes
do-build:
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
do-install:
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|