[78383] trunk/dports/www

snc at macports.org snc at macports.org
Thu May 5 13:50:07 PDT 2011


Revision: 78383
          http://trac.macports.org/changeset/78383
Author:   snc at macports.org
Date:     2011-05-05 13:50:07 -0700 (Thu, 05 May 2011)
Log Message:
-----------
phpsymon: create version 2.0

Added Paths:
-----------
    trunk/dports/www/phpsymon/
    trunk/dports/www/phpsymon/Portfile

Added: trunk/dports/www/phpsymon/Portfile
===================================================================
--- trunk/dports/www/phpsymon/Portfile	                        (rev 0)
+++ trunk/dports/www/phpsymon/Portfile	2011-05-05 20:50:07 UTC (rev 78383)
@@ -0,0 +1,49 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id: Portfile 75461 2011-01-25 19:40:30Z snc at macports.org $
+
+PortSystem          1.0
+
+name                phpsymon
+version             2.0
+categories          www sysutils
+maintainers         snc gmail.com:ryan.flannery+macports openmaintainer
+description         php scrip to listen for and parse symon output
+long_description    phpsymon is a simple PHP script that listens on the \
+                    address and port (default 127.0.0.1 and 2100, \
+                    respectively) that symon streams its output to. Once \
+                    the stats are grabbed, it parses the output into an \
+                    easy-to-read overview of things.
+
+homepage            http://www.ryanflannery.net/hacking/phpsymon/
+platforms           freebsd darwin
+depends_run         port:php5
+
+master_sites        http://www.ryanflannery.net/hacking/phpsymon/files/
+extract.suffix      .tgz
+
+checksums           sha1    13ed8e94db37a5ecc6207ee36c52ce7c616228f1 \
+                    rmd160  c03dde9052112e20e3e3c4fb26643bcd191a5d70
+
+worksrcdir          ${name}
+
+use_configure       no
+
+build {}
+
+destroot {
+    move ${worksrcpath}/configtest.php ${worksrcpath}/configtest.php-dist
+
+    xinstall -d -m 755 ${destroot}${prefix}/www/${name}
+    xinstall -m 644 ${worksrcpath}/configtest.php-dist ${worksrcpath}/help.php \
+        ${destroot}${prefix}/www/${name}/
+
+    foreach dir { config css images lib templates } {
+        xinstall -d -m 755 ${destroot}${prefix}/www/${name}/${dir}
+        eval xinstall -m 644 [glob ${worksrcpath}/${dir}/*] \
+            ${destroot}${prefix}/www/${name}/${dir}/
+    }
+}
+
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     ${name}-(\\d+(\\.\\d+))


Property changes on: trunk/dports/www/phpsymon/Portfile
___________________________________________________________________
Added: svn:keywords:Id
   + 
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110505/b8a6f6a8/attachment.html>


More information about the macports-changes mailing list