2009-03-18 07:21:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= check_multi
|
|
|
|
PORTVERSION= 0.19
|
|
|
|
CATEGORIES= net-mgmt
|
2009-03-19 19:42:04 +01:00
|
|
|
#MASTER_SITES= http://my-plugin.de/${PORTNAME}/
|
2009-03-18 07:21:13 +01:00
|
|
|
#PKGNAMEPREFIX= nagios-
|
2009-03-19 19:42:04 +01:00
|
|
|
#DISTNAME= ${PORTNAME}-${PORTVERSION}.current
|
|
|
|
MASTER_SITES= ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
|
2009-03-18 07:21:13 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2012-10-18 21:22:25 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-03-18 07:21:13 +01:00
|
|
|
COMMENT= A multi purpose wrapper plugin for Nagios
|
|
|
|
|
2010-06-04 15:49:15 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-08-03 15:44:00 +02:00
|
|
|
USES= shebangfix perl5
|
|
|
|
USE_PERL5= run
|
2009-03-18 07:21:13 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLUGIN_DIR= libexec/nagios
|
|
|
|
|
2013-05-07 12:00:57 +02:00
|
|
|
SHEBANG_FILES= check_multi
|
2009-03-18 07:21:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2013-10-06 17:19:24 +02:00
|
|
|
-${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_multi ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}/
|
2009-03-18 07:21:13 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2013-10-06 17:19:24 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@${TAR} -C ${WRKSRC}/contrib -cf - . | ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf -
|
2009-03-18 07:21:13 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|