# -*- 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 105230 2013-04-14 19:44:49Z cal@macports.org $

PortSystem          1.0

name                gsmartcontrol
version             0.8.7
maintainers         cal 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.berlios.de/
master_sites        http://download.berlios.de/gsmartcontrol/
use_bzip2           yes

checksums           rmd160  47a2e3f8c0073faf30979f26be6003b7190318c5 \
                    sha256  708fa803243abb852ed52050fc82cd3592a798c02743342441996e77f19ffec6

depends_build       port:pkgconfig

depends_lib         port:pcre \
                    port:smartmontools \
                    port:gtk2 \
                    port:gtkmm

post-activate {
    system "gtk-update-icon-cache ${prefix}/share/icons/hicolor"
}
