Ticket #35661: Portfile

File Portfile, 1.9 KB (added by andy@…, 12 years ago)

Portfile for version 5.4

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