summaryrefslogtreecommitdiff
path: root/net-mgmt/check_multi/Makefile
blob: f159993e80d24f49bd6bab9e3a7bdc8671b32f08 (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
33
34
35
36
37

PORTNAME=	check_multi
PORTVERSION=	0.26
PORTREVISION=	1
CATEGORIES=	net-mgmt

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multi-purpose wrapper plugin for Nagios

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/LICENSE

USE_GITHUB=	yes
GH_ACCOUNT=	flackem

USES=		gmake perl5 shebangfix
SHEBANG_FILES=	sample_config/feed_passive/gencfg.in
GNU_CONFIGURE=	yes
NO_ARCH=	yes
CONFIGURE_ARGS=	--sysconfdir=${EXAMPLESDIR:H} \
		--libexecdir=${PREFIX}/libexec/nagios
INSTALL_TARGET=	install
TEST_TARGET=	test

PORTDOCS=	Changelog README
PORTEXAMPLES=	*
PLIST_FILES=	libexec/nagios/check_multi

OPTIONS_DEFINE=	DOCS EXAMPLES

EXAMPLES_INSTALL_TARGET=	install-config

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>