Files

36 lines
1.3 KiB
Tcl

# -*- 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
PortGroup golang 1.0
go.setup github.com/bcicen/ctop 0.7.7 v
revision 0
categories sysutils devel
license MIT
platforms {darwin >= 17}
maintainers {judaew @judaew} openmaintainer
description Top-like interface for container metrics
long_description \
ctop provides a concise and condensed overview of real-time metrics for \
multiple containers.\nctop comes with built-in support for Docker and \
runC\; connectors for other container and cluster systems are planned for \
future releases.
homepage https://ctop.sh
checksums rmd160 063bde54b93d7c848b33472680a175adbdff7397 \
sha256 0db439f2030af73ad5345884b08a33a762c3b41b30604223dd0ebddde72d2741 \
size 1434567
# FIXME: This port currently can't be built without allowing go mod to fetch
go.offline_build no
build.cmd make
build.pre_args VERSION=${version} BUILD=${source_date_epoch}
build.args build
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
}