Files

51 lines
1.6 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 muniversal 1.0
github.setup ali-rantakari trash 0.9.2 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
categories sysutils
license MIT
maintainers nomaintainer
conflicts macos-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.
checksums rmd160 b41da8fb4080842fc11e4e2b77d00f60c33894c6 \
sha256 985f140f159f9ea870639a9ec28e0acd0e14acecea930dd1418aab7f2fa2bbe7 \
size 23083
depends_build bin:pod2man:perl5
patchfiles patch-Makefile.diff \
patch-HGUtils.m-lion.diff
array set merger_configure_cflags {
ppc -force_cpusubtype_ALL
ppc64 -force_cpusubtype_ALL
}
if {(!${universal_possible} || ![variant_isset universal]) && [info exists merger_configure_cflags(${configure.build_arch})]} {
configure.cflags-append {*}$merger_configure_cflags(${configure.build_arch})
}
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/
}