Files

43 lines
1.5 KiB
Plaintext

# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup xcode 1.0
github.setup JOHN-decm MacOS-TSKMGR 1.1.1
github.tarball_from archive
name [string tolower ${github.project}]
revision 0
platforms {macosx >= 21}
categories sysutils aqua
maintainers {i0ntempest @i0ntempest} openmaintainer
license Unknown
description tskmgr, but macos
long_description A native task manager for macOS, visually and behaviorally inspired by Windows 10\
Task Manager while keeping access to lower-level real-time macOS metrics
checksums rmd160 bbf0b9a7ca4a11db87beadb8b3be84981e6b45f1 \
sha256 aff34f6d89c78cb7015468054b18222bac6011557d27a7209d12def991b0e2d5 \
size 4856681
xcode.scheme [join [split ${github.project} -] ""]
xcode.configuration Release
xcode.build.settings-append \
OTHER_SWIFT_FLAGS='-disable-sandbox'
build.pre_args-append \
-derivedDataPath ${worksrcpath}/DerivedData
if {${os.major} >= 22} {
xcode.build.settings-append \
CODE_SIGN_IDENTITY=-
} else {
xcode.build.settings-append \
CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO
}
destroot {
file copy ${build.dir}/build/${xcode.configuration}/[join [split ${github.project} -] ""].app ${destroot}${applications_dir}
}