# -*- 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 PortSystem 1.0 name gsmartcontrol version 1.1.4 revision 1 maintainers {cal @neverpanic} openmaintainer categories sysutils gnome description GSmartControl is a graphical user interface for smartctl long_description ${description} \ (from the smartmontools package), which is a tool for querying and \ controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) \ data on modern hard disk drives. It allows you to inspect the drive's SMART \ data to determine its health, as well as run various tests on it. platforms darwin license {GPL-2 GPL-3} homepage http://gsmartcontrol.sourceforge.net/ master_sites sourceforge:project/${name}/${version}/ use_bzip2 yes checksums rmd160 9ef342c16372ef344d02717a87126811a62c75a0 \ sha256 fc409f2b8a84cc40bb103d6c82401b9d4c0182d5a3b223c93959c7ad66191847 \ size 691155 compiler.cxx_standard 2011 # uses a file called "version" during build that conflicts with c++ header compiler.blacklist-append {macports-clang-[8-9].0} depends_build port:pkgconfig depends_lib port:pcre \ port:smartmontools \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ port:gtkmm3 configure.cxxflags-append \ -std=c++11 post-activate { system "gtk-update-icon-cache-3.0 ${prefix}/share/icons/hicolor" } livecheck.regex "[quotemeta ${name}]-(\\d+(\\.\\d+)*)[quotemeta ${extract.suffix}]"