8d6597e0bb
With hat: portmgr Sponsored by: Absolight
34 lines
742 B
Makefile
34 lines
742 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: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>
|