blob: ff2ff138b82488e1f58840278c5154e8e1c5b769 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Ryan Steinmetz
# $FreeBSD$
PORTNAME= check_mysql_slave
PORTVERSION= 0.1.1
CATEGORIES= net-mgmt
MASTER_SITES= http://buhacoff.net/2009/products/check_mysql_slave/archive/ \
http://mirrors.rit.edu/zi/
PKGNAMEPREFIX= nagios-
MAINTAINER= zi@FreeBSD.org
COMMENT= Nagios Plugin to monitor MySQL replication on a slave
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= p5-DBI>=1.60.7:${PORTSDIR}/databases/p5-DBI \
p5-DBD-mysql>0:${PORTSDIR}/databases/p5-DBD-mysql
PORTSCOUT= ignore:1
NO_BUILD= yes
USES= perl5
USE_PERL5= run
DOC_FILES= check_mysql_slave.html check_mysql_slave.pod
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_mysql_slave \
${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_mysql_slave_epn \
${STAGEDIR}${PREFIX}/libexec/nagios
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|