Ticket #19656: Portfile

File Portfile, 988 bytes (added by usami-k@…, 15 years ago)
Line 
1# $Id: Portfile 51021 2009-05-15 15:55:30Z and.damore@macports.org $
2PortSystem      1.0
3name            rmtrash
4version         0.3.3
5revision        1
6maintainers     yc5.so-net.ne.jp:usami-k
7platforms       darwin
8categories      sysutils
9description     move the file to OS X's Trash
10long_description \
11                rmtrash is a small utility that will move the file to OS X's Trash \
12                rather than obliterating the file (as rm does).
13homepage        http://www.nightproductions.net/
14master_sites    http://www.nightproductions.net/downloads/
15distname        ${name}_source
16checksums       md5 fecbb879766e23ec4c918b0e13bc7e43
17worksrcdir      ${name}-source
18patchfiles      patch-Makefile
19
20use_configure   no
21
22build.args      CFLAGS="${configure.cflags}" LDFLAGS="-framework Foundation"
23
24destroot.destdir    DESTDIR=${destroot}${prefix}
25
26variant universal {
27    build.args  CFLAGS="${configure.cflags} ${configure.universal_cflags}" LDFLAGS="-framework Foundation"
28}