# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name phpsymon version 2.0 revision 1 categories www sysutils maintainers snc gmail.com:ryan.flannery+macports openmaintainer license BSD supported_archs noarch description a PHP script to read & display symon stats 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://ryanflannery.net/hacking/phpsymon/ platforms freebsd darwin depends_run path:bin/php:php5 master_sites http://ryanflannery.net/hacking/phpsymon/files/ extract.suffix .tgz checksums rmd160 c03dde9052112e20e3e3c4fb26643bcd191a5d70 \ sha256 101a7a5456de8fe6d7c1cab7bb9ccd7b6b2f85ea6a50fd99657c592713c0d1c9 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+))