aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-check_postgres/Makefile
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2015-04-08 11:18:19 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2015-04-08 11:18:19 +0000
commit02370bae7af618f34f1e1d7f36374d388ce51378 (patch)
treee81e311dd732d1aa90f4700dc10700d151dfb5e3 /net-mgmt/nagios-check_postgres/Makefile
parentf848c882de14f628ede81fc7c5d122f19111e3c7 (diff)
Notes
Diffstat (limited to 'net-mgmt/nagios-check_postgres/Makefile')
-rw-r--r--net-mgmt/nagios-check_postgres/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-mgmt/nagios-check_postgres/Makefile b/net-mgmt/nagios-check_postgres/Makefile
index 4df47e35eebf..7315e460d2dc 100644
--- a/net-mgmt/nagios-check_postgres/Makefile
+++ b/net-mgmt/nagios-check_postgres/Makefile
@@ -3,7 +3,7 @@
PORTNAME= check_postgres
PORTVERSION= 2.21.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= net-mgmt databases perl5
MASTER_SITES= http://bucardo.org/downloads/
PKGNAMEPREFIX= nagios-
@@ -93,6 +93,9 @@ CACTI_LINKS= dbstats
.include <bsd.port.options.mk>
+post-patch:
+ ${SED} -i.bak -e s,%%LOCALBASE%%,${LOCALBASE}, ${WRKSRC}/check_postgres.pl
+
post-install:
.if ${PORT_OPTIONS:MNAGIOS}
@${MKDIR} ${STAGEDIR}${NAGIOS_PLUGINS}