[114710] trunk/dports/net/zabbix2/Portfile
eborisch at macports.org
eborisch at macports.org
Fri Dec 13 20:38:05 PST 2013
Revision: 114710
https://trac.macports.org/changeset/114710
Author: eborisch at macports.org
Date: 2013-12-13 20:38:05 -0800 (Fri, 13 Dec 2013)
Log Message:
-----------
zabbix2: Add date_slash variant
Modified Paths:
--------------
trunk/dports/net/zabbix2/Portfile
Modified: trunk/dports/net/zabbix2/Portfile
===================================================================
--- trunk/dports/net/zabbix2/Portfile 2013-12-14 04:37:44 UTC (rev 114709)
+++ trunk/dports/net/zabbix2/Portfile 2013-12-14 04:38:05 UTC (rev 114710)
@@ -163,6 +163,10 @@
return -code error "+agent_only variant replaced by zabbix2-agent"
}
}
+
+ variant date_slash description {
+ Draw date/month rather than date.month on line graphs.
+ } {}
}
post-extract {
@@ -173,6 +177,11 @@
append repstr "DBSocket=${prefix}/var/run/${ZDB}/mysqld.sock|"
reinplace ${repstr} ${worksrcpath}/conf/zabbix_server.conf
}
+
+ if {[variant_isset date_slash]} {
+ reinplace -E {s|[[:<:]]d\.m[[:>:]]|d/m|g} \
+ frontends/php/include/classes/graphdraw/CLineGraphDraw.php
+ }
}
set repstr "s|# FpingLocation=/usr/sbin/fping|"
append repstr "FpingLocation=${prefix}/sbin/fping|"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131213/cf818e42/attachment.html>
More information about the macports-changes
mailing list