Files

63 lines
2.3 KiB
Tcl
Raw Permalink Normal View History

2022-11-26 12:55:31 +11:00
# -*- 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
2012-09-03 21:59:30 +00:00
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
github.setup nicolargo glances 4.4.1 v
2024-05-16 01:45:52 -04:00
github.tarball_from archive
2024-11-17 14:19:31 +08:00
revision 0
2012-09-03 21:59:30 +00:00
categories sysutils
license LGPL-3
2024-08-26 10:11:55 -04:00
maintainers {hotmail.com:amtor @RobK88} \
2024-09-04 16:53:16 -04:00
openmaintainer
2012-09-03 21:59:30 +00:00
supported_archs noarch
description Glances is a CLI curses based monitoring tool for GNU/Linux and BSD OS.
2019-06-06 16:41:58 +02:00
long_description Glances is a cross-platform monitoring tool which aims to present a large \
amount of monitoring information through a curses or Web based interface. \
The information dynamically adapts depending on the size of the user interface.
2012-09-03 21:59:30 +00:00
2022-11-26 12:55:31 +11:00
platforms {darwin any}
2012-09-03 21:59:30 +00:00
checksums rmd160 c419420d1e07c4344d0203fcff3c6a12fdb6ab04 \
sha256 17f80815c2427e81ac3cad132daae6b9abaf26e40c83426d76c7e2b7a87c08d2 \
size 7113292
2012-09-03 21:59:30 +00:00
2024-05-16 01:45:52 -04:00
python.default_version \
314
depends_lib-append port:py${python.version}-defusedxml \
port:py${python.version}-markupsafe \
port:py${python.version}-packaging \
2024-05-16 01:45:52 -04:00
port:py${python.version}-psutil \
2026-03-24 22:50:10 +03:00
port:py${python.version}-shtab \
port:py${python.version}-jinja2
2012-09-03 21:59:30 +00:00
2025-01-20 09:24:50 -05:00
if {${os.platform} ne "darwin" || ${os.major} > 16} {
2024-05-16 23:27:13 +08:00
depends_lib-append \
2024-08-27 11:10:52 +08:00
port:py${python.version}-orjson \
2024-05-16 23:27:13 +08:00
port:py${python.version}-pydantic
2024-08-27 11:10:52 +08:00
} else {
# https://github.com/nicolargo/glances/issues/2930
depends_run-append \
port:py${python.version}-ujson
2024-05-16 23:27:13 +08:00
}
2024-08-27 11:10:52 +08:00
depends_run-append port:py${python.version}-defusedxml
2023-09-21 22:41:28 +07:00
2024-05-16 23:27:13 +08:00
post-patch {
reinplace "s|/usr/local|${prefix}|" glances/config.py
2013-08-20 13:14:01 +00:00
}
2013-01-27 10:24:58 +00:00
variant html_export description {Adds HTML export option} {
2014-03-25 22:08:29 +00:00
depends_lib-append port:py${python.version}-jinja2
2013-01-27 10:24:58 +00:00
}
variant WebUI_Browser description {Adds WebUI Central Glances Browser option} {
depends_lib-append port:py${python.version}-fastapi \
port:py${python.version}-annotated-doc
depends_run-append port:py${python.version}-uvicorn
}