# -*- 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 96972 2012-08-23 15:59:20Z snc@macports.org $

PortSystem 1.0
PortGroup       xcode 1.0
PortGroup           github 1.0

github.setup        mikepj XRG 1.7.0 XRG_
name                xrg
revision            1
categories-append   sysutils
maintainers     snc openmaintainer
license             GPL-2+
description     XRG is an open source system monitor for Mac OS X.
long_description \
    XRG allows you to monitor CPU activity, memory \
    usage, battery status, machine temperature, network \
    activity, disk I/O, current weather, and stock \
    market data. The goal of XRG is to be a functional \
    system monitor that has a clean and flexible \
    interface, so it doesn't intrude on the rest of your \
    Mac experience. XRG is designed to take as little \
    CPU time as possible while still showing detailed \
    graphs on system usage.
homepage        http://www.gauchosoft.com/Products/XRG/

pre-fetch {
    platform darwin {
        if {${os.major} < 10} {
            ui_error "${name} requires OS X 10.6 or newer."
            return -code error "incompatible OS X version"
        }
    }
}

checksums           rmd160  0eedcfa243794d1cd522b42db2a2bc819df0768e \
                    sha256  dc22b9afa017b726b1135f94eea2ff536dc83a6ca7bb642efb66f0e1e9c270a9

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     [string toupper ${name}]-\\w+-(\\d+(\\.\\d+)+)
