2013-02-02 08:00:39 +01:00
|
|
|
# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
|
2011-03-17 18:28:19 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hastmon
|
2013-10-31 20:51:44 +01:00
|
|
|
PORTVERSION= 0.3.2
|
2011-03-17 18:28:19 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2013-02-02 08:00:39 +01:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2011-03-17 18:28:19 +01:00
|
|
|
|
2013-02-02 08:00:39 +01:00
|
|
|
MAINTAINER= trociny@FreeBSD.org
|
2011-03-17 18:28:19 +01:00
|
|
|
COMMENT= Cluster monitoring daemon
|
|
|
|
|
2014-12-08 14:49:34 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2011-03-17 18:28:19 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS= mk-configure>=0.20:devel/mk-configure
|
2013-02-02 08:00:39 +01:00
|
|
|
|
2011-03-17 18:28:19 +01:00
|
|
|
MKCMAKE?= ${LOCALBASE}/bin/mkcmake
|
|
|
|
INSTALL_TARGET= installdirs install
|
|
|
|
|
|
|
|
PORTDOCS= ChangeLog COPYRIGHT README
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
2013-10-10 15:41:55 +02:00
|
|
|
${SETENV} ${MKCMAKE_ENV} DESTDIR=${STAGEDIR} \
|
|
|
|
${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
|
2011-03-17 18:28:19 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-10-10 15:41:55 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2011-03-17 18:28:19 +01:00
|
|
|
.for doc in ${PORTDOCS}
|
2013-10-10 15:41:55 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${doc} ${STAGEDIR}${DOCSDIR}
|
2011-03-17 18:28:19 +01:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|