1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/net-mgmt/check_multi/Makefile
2010-06-04 13:49:15 +00:00

41 lines
977 B
Makefile

# New ports collection makefile for: check_multi
# Date created: 18 Mar 2009
# Whom: dirk.meyer@dinoex.sub.org
#
# $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= dinoex@FreeBSD.org
COMMENT= A multi purpose wrapper plugin for Nagios
LICENSE= GPLv2
USE_PERL5_RUN= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLUGIN_DIR= libexec/nagios
do-configure:
${REINPLACE_CMD} -e "s|/usr/bin/perl|${PERL5}|" \
${WRKSRC}/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>