source: trunk/dports/sysutils/fs-check/Portfile

Last change on this file was 116912, checked in by jmr@…, 3 years ago

fs-check: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 116912 2014-02-10 06:44:09Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    fs-check
6version                 0.7
7categories              sysutils
8license                 GPL-2+
9platforms               darwin
10supported_archs noarch
11maintainers             nomaintainer
12description             checks filesystem if they are getting too full
13long_description        fs-check checks filesystem sizes to see if they are \
14                                getting too full. It uses a configuration file that \
15                                specifies the filesystems to check, email contacts, \
16                                trigger thresholds (percentage or amount used/unused), \
17                                and a report program to run.
18
19homepage                http://fs-check.sourceforge.net/
20master_sites    sourceforge
21checksums               md5 3b8dd49fdb7e1bc73aa242f73bebe62a \
22                                sha1 395a4b61731e7f0c5f85b68120746108bb4e51dc \
23                                rmd160 8912dc910f5143202bd388a00703894b5d9c65e3
24
25depends_lib             bin:perl:perl5
26
27configure.args  --mandir=${prefix}/share/man
28post-configure  {
29        reinplace "s|/var/adm/fs-check.cf|${prefix}/etc/fs-check.conf|g" \
30                ${worksrcpath}/fs-check
31        reinplace "s|/var/run|${prefix}/var/run|g" ${worksrcpath}/fs-check
32}
33
34test.run                yes
35test.target             check
36
37post-destroot   {
38        xinstall -m 644 ${worksrcpath}/sample/fs-check-sample.cnf \
39                ${destroot}${prefix}/etc/fs-check.conf.sample
40}
Note: See TracBrowser for help on using the repository browser.