Files
Clemens LangandHerby Gillot 197baf64a0 bpytop: Fix theme path detection
In MacPorts, bpytop didn't find its themes, because it did not search
relative to its executable, and only search default paths /usr and
/usr/local.
2024-09-24 08:45:27 -04:00

50 lines
1.5 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 github 1.0
PortGroup makefile 1.0
github.setup aristocratos bpytop 1.0.68 v
github.tarball_from archive
revision 3
description \
Linux/macOS/FreeBSD resource monitor
long_description \
{*}${description}. Resource monitor that shows usage and stats for \
processor, memory, disks, network and processes. Python port of bashtop.
categories sysutils
license Apache-2
platforms any
supported_archs noarch
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 b1fadf6be303b0f7b650d545daad71778210a23d \
sha256 3a936f8899efb66246e82bbcab33249bf94aabcefbe410e56f045a1ce3c9949f \
size 632649
set python_branch 3.12
set python_version [join [split ${python_branch} "."] ""]
set python_bin ${prefix}/bin/python${python_branch}
depends_run-append port:python${python_version} \
port:py${python_version}-psutil
makefile.has_destdir yes
patchfiles-append patch-pr413.diff \
patch-pr422.diff
post-patch {
reinplace "s|/usr/bin/env python3|${python_bin}|" ${worksrcpath}/bpytop.py
}
notes "
On macOS, ${name} will not display correctly in the standard terminal!
The recommended alternative is iTerm2.
"