View | Details | Raw Unified | Return to bug 218611 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +6 lines)
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 36-41 Link Here
36
36
37
OPTIONS_DEFINE=	DOCS
37
OPTIONS_DEFINE=	DOCS
38
38
39
post-patch:
40
	@${REINPLACE_CMD} 's|/etc/cacti/|${LOCALBASE}/etc/cacti/|g' ${WRKSRC}/cacti/scripts/ss_get_mysql_stats.php
41
	@${REINPLACE_CMD} 's|/etc/nagios/mysql.cnf|${LOCALBASE}/etc/nagios/mysql.cnf|g' ${WRKSRC}/nagios/bin/pmp-check-mysql-*
42
	@${REINPLACE_CMD} 's|/etc/cacti/|${LOCALBASE}/etc/cacti/|g' ${WRKSRC}/zabbix/scripts/ss_get_mysql_stats.php
43
39
do-install:
44
do-install:
40
	${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts
45
	${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts
41
	${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins
46
	${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins

Return to bug 218611