# -*- 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 # $Id: Portfile 149401 2016-06-17 13:50:52Z ryandesign@macports.org $ PortSystem 1.0 name smartmontools version 6.5 categories sysutils license GPL-2+ platforms darwin maintainers gmail.com:rjvbertin openmaintainer description SMART hard drive monitoring long_description \ Two utility programs (smartctl and smartd) to control and monitor \ storage systems using the Self-Monitoring, Analysis and Reporting \ Technology System (SMART) built into most modern ATA and SCSI hard \ disks. In many cases, these utilities will provide advanced warning \ of disk degradation and failure. homepage http://smartmontools.sourceforge.net/ master_sites sourceforge:project/smartmontools/smartmontools/${version}/ checksums rmd160 e62d15d406a92b75fa239603180c6b587f9d2aa8 \ sha256 89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc configure.args --with-drivedb \ --without-savestates \ --without-attributelog \ --enable-sample \ --with-libcap-ng=no destroot.keepdirs ${destroot}${prefix}/var/run \ ${destroot}${prefix}/var/lib/smartmontools default_variants +savestates +attributelog variant savestates description {Use default smartd state files} { configure.args-replace --without-savestates --with-savestates } variant attributelog description {Use default smartd attribute log files} { configure.args-replace --without-attributelog --with-attributelog } startupitem.create yes startupitem.name smartd startupitem.executable ${prefix}/sbin/smartd -n