Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= percona-monitoring-plugins |
4 |
PORTNAME= percona-monitoring-plugins |
5 |
PORTVERSION= 1.1.3 |
5 |
PORTVERSION= 1.1.3 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= net-mgmt |
7 |
CATEGORIES= net-mgmt |
8 |
MASTER_SITES= http://www.percona.com/downloads/percona-monitoring-plugins/${PORTVERSION}/ \ |
8 |
MASTER_SITES= http://www.percona.com/downloads/percona-monitoring-plugins/${PORTVERSION}/ \ |
9 |
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ |
9 |
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ |
Lines 20-26
Link Here
|
20 |
p5-Digest-MD5>=0:security/p5-Digest-MD5 \ |
20 |
p5-Digest-MD5>=0:security/p5-Digest-MD5 \ |
21 |
p5-Getopt-Long>=0:devel/p5-Getopt-Long \ |
21 |
p5-Getopt-Long>=0:devel/p5-Getopt-Long \ |
22 |
p5-Time-HiRes>=0:devel/p5-Time-HiRes \ |
22 |
p5-Time-HiRes>=0:devel/p5-Time-HiRes \ |
23 |
bash:shells/bash |
23 |
bash:shells/bash \ |
|
|
24 |
wget:ftp/wget |
24 |
|
25 |
|
25 |
USES= shebangfix perl5 php:cli |
26 |
USES= shebangfix perl5 php:cli |
26 |
USE_PERL5= run |
27 |
USE_PERL5= run |
Lines 36-41
Link Here
|
36 |
|
37 |
|
37 |
OPTIONS_DEFINE= DOCS |
38 |
OPTIONS_DEFINE= DOCS |
38 |
|
39 |
|
|
|
40 |
post-patch: |
41 |
@${REINPLACE_CMD} 's|/etc/cacti/|${LOCALBASE}/etc/cacti/|g' ${WRKSRC}/cacti/scripts/ss_get_mysql_stats.php |
42 |
@${REINPLACE_CMD} 's|/etc/nagios/mysql.cnf|${LOCALBASE}/etc/nagios/mysql.cnf|g' ${WRKSRC}/nagios/bin/pmp-check-mysql-* |
43 |
@${REINPLACE_CMD} 's|/etc/cacti/|${LOCALBASE}/etc/cacti/|g' ${WRKSRC}/zabbix/scripts/ss_get_mysql_stats.php |
44 |
@${REINPLACE_CMD} 's|wget|${LOCALBASE}/bin/wget|g' ${WRKSRC}/cacti/scripts/ss_get_by_ssh.php |
45 |
|
39 |
do-install: |
46 |
do-install: |
40 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts |
47 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts |
41 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins |
48 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins |