mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.4 KiB
Tcl
47 lines
1.4 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 xcodeversion 1.0
|
|
|
|
github.setup sindresorhus macos-trash 2.2.0 v
|
|
revision 0
|
|
github.tarball_from archive
|
|
|
|
categories sysutils
|
|
license MIT
|
|
maintainers {@halostatue macports.halostatue.ca:austin} openmaintainer
|
|
|
|
conflicts trash
|
|
|
|
description command-line program that moves items to the trash
|
|
|
|
long_description ${name} is a small command-line program that moves \
|
|
files or folders to the trash, written in Swift
|
|
|
|
checksums rmd160 908b2cc9fa942528edbf8662d64d5fca2d15672e \
|
|
sha256 daa545407550ecc46e5088669d1e9eae41219d29ff83d46f46c658bad1c00f85 \
|
|
size 3513
|
|
|
|
minimum_xcodeversions {23 16.1}
|
|
|
|
platforms {darwin >= 23}
|
|
|
|
use_configure no
|
|
use_xcode yes
|
|
|
|
build.cmd swift
|
|
build.target build
|
|
build.args --configuration release --disable-sandbox
|
|
|
|
set builtproductdir ${worksrcpath}/.build/release
|
|
|
|
variant universal {
|
|
build.args-append --arch x86_64 --arch arm64
|
|
set builtproductdir ${worksrcpath}/.build/apple/Products/Release
|
|
}
|
|
|
|
destroot {
|
|
xinstall -m 755 ${builtproductdir}/trash ${destroot}${prefix}/bin/
|
|
}
|