# -*- 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        ali-rantakari trash 0.9.2 v
revision            0
categories          sysutils
platforms           darwin
license             MIT
maintainers         nomaintainer

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.

checksums           rmd160  b41da8fb4080842fc11e4e2b77d00f60c33894c6 \
                    sha256  985f140f159f9ea870639a9ec28e0acd0e14acecea930dd1418aab7f2fa2bbe7 \
                    size    23083

depends_build       bin:pod2man:perl5

patchfiles          patch-Makefile.diff

configure.cmd       printenv
configure.pre_args
configure.universal_args
configure.post_args {>> Makefile.macports.inc}

build.target-append docs

destroot {
    xinstall -m 0755 ${worksrcpath}/trash ${destroot}${prefix}/bin/
    xinstall -m 0444 ${worksrcpath}/trash.1 ${destroot}${prefix}/share/man/man1/
}