aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-check_zpools/Makefile
blob: 75fb9c40793edfcd5437eda468e296f5c4eadec0 (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
PORTNAME=	check_zpools
PORTVERSION=	1.0
CATEGORIES=	net-mgmt
PKGNAMEPREFIX=	nagios-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nagios plugin that checks zpool state
WWW=		https://github.com/Napsty/check_zpools

RUN_DEPENDS=	bash:shells/bash

USE_GITHUB=	yes
GH_ACCOUNT=	Napsty
GH_TAGNAME=	0334625
NO_BUILD=	yes
USES=		shebangfix
SHEBANG_FILES=	check_zpools.sh

PLIST_FILES=	libexec/nagios/check_zpools

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
	${INSTALL_SCRIPT} ${WRKSRC}/check_zpools.sh \
		${STAGEDIR}${PREFIX}/libexec/nagios/check_zpools

.include <bsd.port.mk>