aboutsummaryrefslogblamecommitdiff
path: root/net-mgmt/check_mysql_health/Makefile
blob: 2b48102470955681157feb030a552cd32bd16f88 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                 
                                      
























                                                                                         
# New ports collection makefile for:    check_mysql_health
# Date created:         November 8, 2010
# Whom:                 pgollucci@p6m7g8.com
#
# $FreeBSD$
#

PORTNAME=	check_mysql_health
PORTVERSION=	2.1.3
CATEGORIES=	net-mgmt
MASTER_SITES=	http://labs.consol.de/wp-content/uploads/2010/10/

MAINTAINER=	ssanders@taximagic.com
COMMENT=	Nagios plugin to check various parameters of a MySQL database

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql

LICENSE=	GPLv2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-statefiles-dir=${NAGIOSDIR} \
		--with-nagios-user=${NAGIOSUSER} \
		--with-nagios-group=${NAGIOSGROUP} \
		--with-mymodules-dir=${PREFIX}/libexec/nagios \
		--with-mymodules-dyn-dir=${PREFIX}/libexec/nagios \
		--libexecdir=${PREFIX}/libexec/nagios \
		--with-perl=${PERL}

USE_PERL5=	yes

NAGIOSUSER?=	nagios
NAGIOSGROUP?=	nagios
NAGIOSDIR?=	/var/spool/nagios

PLIST_FILES=	libexec/nagios/check_mysql_health
PLIST_DIRS=		libexec/nagios

.include <bsd.port.mk>