freebsd-ports/net-mgmt/check_multi/Makefile
Dirk Meyer 20c278d630 - mirror distfile
the checksum of the traball from the MASTER_SITE keeps changing.
2009-03-19 18:42:04 +00:00

38 lines
961 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
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>