# $Id$ PortSystem 1.0 name smartmontools version 5.38 revision 1 categories sysutils maintainers toby 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/ platforms darwin master_sites sourceforge checksums md5 a282846532ecbd6b4a28072373b3a70b \ sha1 90e36f46af7a35336c63868176aa71deef4c9e66 \ rmd160 6fcca6e18b14a14b579e8484c769f36b3ce238ea configure.args --mandir=${prefix}/share/man --enable-sample platform darwin { post-destroot { file delete -force ${destroot}${prefix}/etc/rc.d set launchd_path ${destroot}/Library/LaunchDaemons set launchd_plist net.sourceforge.smartmontools.smartd.plist xinstall -d ${launchd_path} xinstall ${filespath}/${launchd_plist} ${launchd_path} reinplace s|__PREFIX__|${prefix}| ${launchd_path}/${launchd_plist} } }