[43123] trunk/dports/net/zabbix/Portfile

markd at macports.org markd at macports.org
Fri Dec 5 10:53:23 PST 2008


Revision: 43123
          http://trac.macports.org/changeset/43123
Author:   markd at macports.org
Date:     2008-12-05 10:53:22 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
Clean up copying of front end files part.

Modified Paths:
--------------
    trunk/dports/net/zabbix/Portfile

Modified: trunk/dports/net/zabbix/Portfile
===================================================================
--- trunk/dports/net/zabbix/Portfile	2008-12-05 18:51:41 UTC (rev 43122)
+++ trunk/dports/net/zabbix/Portfile	2008-12-05 18:53:22 UTC (rev 43123)
@@ -4,6 +4,7 @@
 
 name			zabbix
 version			1.6.1
+revision		1
 categories		net
 maintainers		markd openmaintainer
 platforms		darwin
@@ -147,37 +148,12 @@
         eval xinstall -m 755 [glob ${worksrcpath}/create/schema/*] \
                 ${destroot}${prefix}/share/zabbix/schema
 
-# Copy the front end
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/conf
-	destroot.keepdirs ${destroot}${prefix}/share/zabbix/frontends/php/conf
+# Copy the front end files
 
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/audio
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/audio/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/audio
+        file mkdir ${destroot}${prefix}/share/zabbix/frontends/
+        file copy ${worksrcpath}/frontends/php/ \
+                ${destroot}${prefix}/share/zabbix/frontends/
 
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/images/general
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/images/gradients
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/images/sysmaps/old
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/images/general/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/images/general
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/images/gradients/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/images/gradients
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/images/sysmaps/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/images/sysmaps
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/images/sysmaps/old/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/images/sysmaps/old
-
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/include/classes
-        xinstall -d -m 755 -d ${destroot}${prefix}/share/zabbix/frontends/php/include/locales
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/include/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/include
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/include/classes/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/include/classes
-        eval xinstall -m 755 [glob ${worksrcpath}/frontends/php/include/locales/*.*] \
-                ${destroot}${prefix}/share/zabbix/frontends/php/include/locales
-
 # Create a startup script for the server
 		xinstall -m 755 ${portpath}/${filesdir}/zabbix_server.init \
 			${destroot}${prefix}/share/zabbix
@@ -219,7 +195,7 @@
 	Server=x.x.x.x
 
 
-2) Set zabbix_agentd to run at system boot, then start it
+2) Set zabbix_agentd to run at system boot
 
 	OS X 10.4 and up - Run launchctl so ZABBIX will start at system boot
 	sudo launchctl load -w /Library/LaunchDaemons/org.macports.zabbix.plist
@@ -227,7 +203,7 @@
 	OS X 10.3 and previous - A startup item was created in /Library/StartupItems
 	Add \"ZABBIX=-YES-\" to the /etc/hostconfig file to run ZABBIX at system boot
 
-	${prefix}/share/zabbix/zabbix_agentd.init start (stop|status)
+   To start Zabbix manually, use: ${prefix}/share/zabbix/zabbix_agentd.init start (stop|status)
 
 
 3) A Win32 agent is in ${prefix}/share/zabbix/zabbix_agent_win32 for
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081205/08440d4d/attachment.html>


More information about the macports-changes mailing list