source: trunk/dports/sysutils/rmtrash/Portfile

Last change on this file was 127773, checked in by ryandesign@…, 3 years ago

rmtrash: ensure we're UsingTheRightCompiler (#45757) and fix/simplify handling of -arch flags

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# -*- 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
2# $Id: Portfile 127773 2014-11-03 20:38:48Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            rmtrash
7version         0.3.3
8revision        2
9categories      sysutils
10platforms       darwin
11maintainers     nomaintainer
12license         permissive
13
14description     move the file to OS X's Trash
15
16long_description \
17                rmtrash is a small utility that will move the file to OS X's Trash \
18                rather than obliterating the file (as rm does).
19
20homepage        http://www.nightproductions.net/cli.htm
21master_sites    http://www.nightproductions.net/downloads/
22distname        ${name}_source
23
24checksums       md5     fecbb879766e23ec4c918b0e13bc7e43
25
26worksrcdir      ${name}-source
27
28patchfiles      patch-Makefile
29
30use_configure   no
31
32variant universal {}
33
34build.args      CC="${configure.cc}" \
35                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
36                LDFLAGS="-framework Foundation [get_canonical_archflags ld]"
37
38destroot.destdir    DESTDIR=${destroot}${prefix}
39
40livecheck.type  regex
41livecheck.regex {/rmtrash.tar.gz.*\(v([0-9.]+)\)}
Note: See TracBrowser for help on using the repository browser.