# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        nicolargo glances 1.6.1 v

python.default_version  27
categories          sysutils
license             GPL-3
maintainers         g5pw openmaintainer
supported_archs     noarch

description         Glances is a CLI curses based monitoring tool for GNU/Linux and BSD OS.
long_description    ${description}

platforms           darwin

checksums           rmd160  013a4d6efcaecc589a10f0a94f248430c3d6021c \
                    sha256  a1d31eed4da0a597ff2458f29e97c46c911e37306461da44b917e7b0b8c417ff

depends_build       port:py${python.version}-setuptools

depends_lib         port:py${python.version}-psutil

build {}

python.link_binaries_suffix

variant html_export description {Adds HTML export option} {
    depends_lib-append port:py{$python.version}-jinja2
    
}
