source: trunk/dports/sysutils/smartmontools/Portfile @ 86522

Last change on this file since 86522 was 86522, checked in by takanori@…, 6 years ago

smartmontools:

  • version bump to 5.42
  • add openmaintainer
  • add +disable_savestates and +disable_attributelog
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 86522 2011-10-27 08:31:02Z takanori@macports.org $
2
3PortSystem 1.0
4
5name            smartmontools
6version         5.42
7categories      sysutils
8maintainers     takanori openmaintainer
9description     SMART hard drive monitoring
10long_description \
11    Two utility programs (smartctl and smartd) to control and monitor \
12    storage systems using the Self-Monitoring, Analysis and Reporting \
13    Technology System (SMART) built into most modern ATA and SCSI hard \
14    disks. In many cases, these utilities will provide advanced warning \
15    of disk degradation and failure.
16homepage        http://smartmontools.sourceforge.net/
17platforms       darwin
18license         GPL-2+
19master_sites    sourceforge
20checksums       md5     4460bf9a79a1252ff5c00ba52cf76b2a \
21                sha1    52f966abeb23458acc0ec734f2d6ab432f6b5a7d \
22                rmd160  c8d111719de20319c2f30614726084ee890b3a02
23configure.args  --mandir=${prefix}/share/man \
24                --enable-drivedb \
25                --enable-savestates \
26                --enable-attributelog \
27                --enable-sample \
28                --with-libcap-ng=no
29
30destroot.keepdirs   ${destroot}${prefix}/var/run \
31                    ${destroot}${prefix}/var/lib/smartmontools
32
33variant disable_savestates description {Don't use default smartd state files} {
34    configure.args-delete --enable-savestates
35    configure.args-append --disable-savestates
36}
37
38variant disable_attributelog description {Don't use default smartd attribute log files} {
39    configure.args-delete --enable-attributelog
40    configure.args-append --disable-attributelog
41}
42
43startupitem.create      yes
44startupitem.name        smartd
45startupitem.executable  ${prefix}/sbin/smartd -p ${prefix}/var/run/smartd.pid
46startupitem.pidfile     auto ${prefix}/var/run/smartd.pid
Note: See TracBrowser for help on using the repository browser.