blob: 90d1cb36bb2b27435ef6083ec90f6fdc53efe1f8 (
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
|
# $FreeBSD$
PORTNAME= check_multi
PORTVERSION= 0.19
CATEGORIES= net-mgmt
#MASTER_SITES= http://my-plugin.de/${PORTNAME}/
#PKGNAMEPREFIX= nagios-
#DISTNAME= ${PORTNAME}-${PORTVERSION}.current
MASTER_SITES= ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A multi purpose wrapper plugin for Nagios
LICENSE= GPLv2
NO_STAGE= yes
USES= shebangfix perl5
USE_PERL5= run
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLUGIN_DIR= libexec/nagios
SHEBANG_FILES= check_multi
do-install:
-${MKDIR} ${PREFIX}/${PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/check_multi ${PREFIX}/${PLUGIN_DIR}/
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/contrib -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
.endif
.include <bsd.port.mk>
|