# -*- 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

name            rmtrash
version         0.3.3
revision        2
categories      sysutils
platforms       darwin
maintainers     nomaintainer
license         permissive

description     move the file to OS X's Trash

long_description \
                rmtrash is a small utility that will move the file to OS X's Trash \
                rather than obliterating the file (as rm does).

homepage        https://web.archive.org/web/20240808152721/http://www.nightproductions.net/cli.htm
master_sites    macports_distfiles
distname        ${name}_source

checksums       md5     fecbb879766e23ec4c918b0e13bc7e43

worksrcdir      ${name}-source

patchfiles      patch-Makefile

use_configure   no

variant universal {}

build.args      CC="${configure.cc}" \
                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
                LDFLAGS="-framework Foundation [get_canonical_archflags ld]"

destroot.destdir    DESTDIR=${destroot}${prefix}

livecheck.type  none
