source: trunk/dports/sysutils/smartmontools/Portfile

Last change on this file was 149401, checked in by ryandesign@…, 6 months ago

smartmontools: update to 6.5; rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 149401 2016-06-17 13:50:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                smartmontools
7version             6.5
8categories          sysutils
9license             GPL-2+
10platforms           darwin
11
12maintainers         gmail.com:rjvbertin openmaintainer
13
14description         SMART hard drive monitoring
15
16long_description \
17    Two utility programs (smartctl and smartd) to control and monitor \
18    storage systems using the Self-Monitoring, Analysis and Reporting \
19    Technology System (SMART) built into most modern ATA and SCSI hard \
20    disks. In many cases, these utilities will provide advanced warning \
21    of disk degradation and failure.
22
23homepage            http://smartmontools.sourceforge.net/
24master_sites        sourceforge:project/smartmontools/smartmontools/${version}/
25
26checksums           rmd160  e62d15d406a92b75fa239603180c6b587f9d2aa8 \
27                    sha256  89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc
28
29configure.args      --with-drivedb \
30                    --without-savestates \
31                    --without-attributelog \
32                    --enable-sample \
33                    --with-libcap-ng=no
34
35destroot.keepdirs   ${destroot}${prefix}/var/run \
36                    ${destroot}${prefix}/var/lib/smartmontools
37
38default_variants    +savestates +attributelog
39
40variant savestates description {Use default smartd state files} {
41    configure.args-replace --without-savestates --with-savestates
42}
43
44variant attributelog description {Use default smartd attribute log files} {
45    configure.args-replace --without-attributelog --with-attributelog
46}
47
48startupitem.create      yes
49startupitem.name        smartd
50startupitem.executable  ${prefix}/sbin/smartd -n
Note: See TracBrowser for help on using the repository browser.