Ticket #23338: Portfile

File Portfile, 1.8 KB (added by n0ts (Naoya Nakazawa), 14 years ago)
Line 
1# $Id: Portfile 50980 2009-05-14 19:41:55Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name                monit
6version             5.0.3
7categories          sysutils
8platforms           darwin freebsd linux netbsd openbsd solaris
9maintainers         eridius
10
11description         monit is a utility for managing and monitoring, processes, \
12                    files, directories and devices on a UNIX system.
13long_description    Monit can start a process if it does not run, restart a process \
14                    if it does not respond and stop a process if it uses too many resources. \
15                    You can use monit to monitor files, directories and devices for changes, \
16                    such as timestamp changes, checksum changes or size changes. You can also \
17                    monitor remote hosts\; monit can ping a remote host and can check TCP/IP \
18                    port connections and server protocols. Monit is controlled via an easy \
19                    to use control file based on a free-format, token-oriented syntax. Monit \
20                    logs to syslog or to its own log file and notifies you about error \
21                    conditions and recovery status via customizable alert.
22
23homepage            http://www.tildeslash.com/monit/
24master_sites        http://www.tildeslash.com/monit/dist/
25
26checksums        md5 dae7859ec10551fc941daeae60dee9d3 \
27                 sha1 60cb18678f7d1423e728b44cd09f57a87340b2ba \
28                 rmd160 c75586b174484bab046ed6d4e7e3440596b65917
29
30depends_build       bin:flex:flex bin:bison:bison
31depends_lib         port:openssl
32
33platform freebsd {
34    build.type      gnu
35}
36
37platform netbsd {
38    build.type      gnu
39}
40
41platform openbsd {
42    build.type      gnu
43}
44
45pre-destroot {
46    xinstall -m 755 ${workpath}/${name}-${version}/monitrc ${destroot}${prefix}/etc/monitrc.sample
47}
48