source: trunk/dports/sysutils/monit/Portfile @ 67426

Last change on this file since 67426 was 67426, checked in by jmr@…, 9 years ago

monit: update to 5.0.3 (#22607), update homepage, add license, install docs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 67426 2010-05-09 13:09:28Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                monit
6version             5.0.3
7categories          sysutils
8platforms           darwin freebsd linux netbsd openbsd solaris
9license             GPLv3
10maintainers         eridius
11
12description         monit is a utility for managing and monitoring, processes, \
13                    files, directories and devices on a UNIX system.
14long_description    Monit can start a process if it does not run, restart a process \
15                    if it does not respond and stop a process if it uses too many resources. \
16                    You can use monit to monitor files, directories and devices for changes, \
17                    such as timestamp changes, checksum changes or size changes. You can also \
18                    monitor remote hosts\; monit can ping a remote host and can check TCP/IP \
19                    port connections and server protocols. Monit is controlled via an easy \
20                    to use control file based on a free-format, token-oriented syntax. Monit \
21                    logs to syslog or to its own log file and notifies you about error \
22                    conditions and recovery status via customizable alert.
23
24homepage            http://mmonit.com/monit/
25master_sites        ${homepage}dist/
26
27checksums           md5 dae7859ec10551fc941daeae60dee9d3 \
28                    sha1 60cb18678f7d1423e728b44cd09f57a87340b2ba \
29                    rmd160 c75586b174484bab046ed6d4e7e3440596b65917
30
31depends_build       bin:flex:flex bin:bison:bison
32depends_lib         port:openssl
33
34platform freebsd {
35    build.type      gnu
36}
37
38platform netbsd {
39    build.type      gnu
40}
41
42platform openbsd {
43    build.type      gnu
44}
45
46post-destroot {
47    xinstall -m 444 ${worksrcpath}/monitrc ${destroot}${prefix}/etc/monitrc.sample
48    xinstall -d ${destroot}${prefix}/share/doc/${name}
49    xinstall -m 444 -W ${worksrcpath} CHANGES.txt CONTRIBUTORS COPYING \
50        FAQ.txt LICENSE PLATFORMS README README.SSL \
51        ${destroot}${prefix}/share/doc/${name}
52}
Note: See TracBrowser for help on using the repository browser.