source: trunk/dports/www/phpsymon/Portfile @ 87969

Last change on this file since 87969 was 84582, checked in by snc@…, 8 years ago

phpsymon: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 84582 2011-09-28 15:30:34Z snc@macports.org $
3
4PortSystem          1.0
5
6name                phpsymon
7version             2.0
8revision            1
9categories          www sysutils
10maintainers         snc gmail.com:ryan.flannery+macports openmaintainer
11license             BSD
12supported_archs     noarch
13
14description         a PHP script to read & display symon stats
15long_description    phpsymon is a simple PHP script that listens on the \
16                    address and port (default 127.0.0.1 and 2100, \
17                    respectively) that symon streams its output to. Once \
18                    the stats are grabbed, it parses the output into an \
19                    easy-to-read overview of things.
20
21homepage            http://ryanflannery.net/hacking/phpsymon/
22platforms           freebsd darwin
23depends_run         path:bin/php:php5
24
25master_sites        http://ryanflannery.net/hacking/phpsymon/files/
26extract.suffix      .tgz
27
28checksums           rmd160  c03dde9052112e20e3e3c4fb26643bcd191a5d70 \
29                    sha256  101a7a5456de8fe6d7c1cab7bb9ccd7b6b2f85ea6a50fd99657c592713c0d1c9
30
31worksrcdir          ${name}
32
33use_configure       no
34
35build {}
36
37destroot {
38    move ${worksrcpath}/configtest.php ${worksrcpath}/configtest.php-dist
39
40    xinstall -d -m 755 ${destroot}${prefix}/www/${name}
41    xinstall -m 644 ${worksrcpath}/configtest.php-dist ${worksrcpath}/help.php \
42        ${destroot}${prefix}/www/${name}/
43
44    foreach dir { config css images lib templates } {
45        xinstall -d -m 755 ${destroot}${prefix}/www/${name}/${dir}
46        eval xinstall -m 644 [glob ${worksrcpath}/${dir}/*] \
47            ${destroot}${prefix}/www/${name}/${dir}/
48    }
49}
50
51livecheck.type      regex
52livecheck.url       ${homepage}
53livecheck.regex     ${name}-(\\d+(\\.\\d+))
Note: See TracBrowser for help on using the repository browser.