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

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

smartmontools: as per request from Ryan,

  • +disable_savestates -> +savestates
  • +disable_attributelog -> +attributelog

( http://lists.macosforge.org/pipermail/macports-dev/2011-October/016607.html )

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