mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
35 lines
836 B
Makefile
35 lines
836 B
Makefile
# $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
|
|
|
|
USES= shebangfix perl5
|
|
USE_PERL5= run
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
PLUGIN_DIR= libexec/nagios
|
|
|
|
SHEBANG_FILES= check_multi
|
|
|
|
do-install:
|
|
-${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/check_multi ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}/
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${TAR} -C ${WRKSRC}/contrib -cf - . | ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf -
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|