summaryrefslogtreecommitdiff
path: root/sysutils/monitoring/Makefile
blob: 696c61376d78ad0c3c872162434b2fe932a71a8f (plain)
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
# $NetBSD: Makefile,v 1.1 2013/04/22 09:39:21 imil Exp $
#

VERSION=		e518a90eade4ca538468b6640dccb651e6034b9e
DISTNAME=		${VERSION}
PKGNAME=		monitoring-0.9.5
CATEGORIES=		sysutils
MASTER_SITES=		https://github.com/sebastien/monitoring/archive/
FETCH_USING=		curl

MAINTAINER=		imil@NetBSD.org
HOMEPAGE=		https://github.com/sebastien/monitoring
COMMENT=		API with DSL feel to write monitoring daemons in Python
LICENSE=		modified-bsd

WRKSRC=			${WRKDIR}/monitoring-${VERSION}

REPLACE_PYTHON+=	Sources/monitoring.py Scripts/monitoring

DOCDIR=			${PREFIX}/share/doc/monitoring
EXPDIR=			${PREFIX}/share/examples/monitoring

INSTALLATION_DIRS+=	${DOCDIR}
INSTALLATION_DIRS+=	${EXPDIR}

post-install:
	${INSTALL_DATA} ${WRKSRC}/Examples/*.py ${DESTDIR}${EXPDIR}
	${INSTALL_DATA} ${WRKSRC}/README.rst ${DESTDIR}${DOCDIR}

.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"