freebsd-ports/net-mgmt/hastmon/Makefile
2014-12-08 13:49:34 +00:00

34 lines
754 B
Makefile

# Created by: Mikolaj Golub <to.my.trociny@gmail.com>
# $FreeBSD$
PORTNAME= hastmon
PORTVERSION= 0.3.2
CATEGORIES= net-mgmt
MASTER_SITES= GOOGLE_CODE
MAINTAINER= trociny@FreeBSD.org
COMMENT= Cluster monitoring daemon
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= mk-configure>=0.20:${PORTSDIR}/devel/mk-configure
MKCMAKE?= ${LOCALBASE}/bin/mkcmake
INSTALL_TARGET= installdirs install
PORTDOCS= ChangeLog COPYRIGHT README
do-build:
${SETENV} ${MKCMAKE_ENV} ${MKCMAKE} -C ${WRKSRC}
do-install:
${SETENV} ${MKCMAKE_ENV} DESTDIR=${STAGEDIR} \
${MKCMAKE} -C ${WRKSRC} ${INSTALL_TARGET}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>