# -*- 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 github.setup Abdenasser neohtop 1.0.9 v revision 0 categories sysutils aqua maintainers {i0ntempest @i0ntempest} openmaintainer platforms macosx license MIT description htop on steroids long_description ${name} is a modern, cross-platform system monitor built on top of\ Svelte, Rust and Tauri. checksums rmd160 37ce66773059087edd35571965b74f91dfd5b17b \ sha256 f09b71aeca4ae76fb5f98beea16592dc6044bc775fed702b3372301da21bb3a4 \ size 1925795 universal_variant no depends_build-append path:bin/node:nodejs22 \ path:bin/npm:npm10 \ port:cargo \ port:rust \ port:jq \ port:moreutils platform darwin { if {${os.major} < 20} { # 10.15- depends_build-replace \ path:bin/node:nodejs22 \ path:bin/node:nodejs18 depends_build-replace \ path:bin/npm:npm10 \ path:bin/npm:npm9 } } post-patch { system -W ${worksrcpath}/src-tauri \ "${prefix}/bin/jq -r \'.bundle.targets |= \"app\"\' tauri.conf.json | \ ${prefix}/bin/sponge tauri.conf.json" system -W ${worksrcpath}/src-tauri \ "${prefix}/bin/jq -r \'.bundle.macOS.signingIdentity |= \"-\"\' tauri.conf.json | \ ${prefix}/bin/sponge tauri.conf.json" system -W ${worksrcpath}/src-tauri \ "${prefix}/bin/jq -r \'.bundle.macOS.minimumSystemVersion |= \"${macosx_deployment_target}\"\' tauri.conf.json | \ ${prefix}/bin/sponge tauri.conf.json" } configure.cmd ${prefix}/bin/npm install configure.pre_args configure.args-append --verbose build.cmd ${prefix}/bin/npm run tauri build build.pre_args build.args-append --verbose destroot { copy ${worksrcpath}/src-tauri/target/release/bundle/macos/NeoHtop.app ${destroot}${applications_dir} }