1 | # $Id: Portfile 51021 2009-05-15 15:55:30Z and.damore@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | name rmtrash |
---|
4 | version 0.3.3 |
---|
5 | revision 1 |
---|
6 | maintainers yc5.so-net.ne.jp:usami-k |
---|
7 | platforms darwin |
---|
8 | categories sysutils |
---|
9 | description move the file to OS X's Trash |
---|
10 | long_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). |
---|
13 | homepage http://www.nightproductions.net/ |
---|
14 | master_sites http://www.nightproductions.net/downloads/ |
---|
15 | distname ${name}_source |
---|
16 | checksums md5 fecbb879766e23ec4c918b0e13bc7e43 |
---|
17 | worksrcdir ${name}-source |
---|
18 | patchfiles patch-Makefile |
---|
19 | |
---|
20 | use_configure no |
---|
21 | |
---|
22 | build.args CFLAGS="${configure.cflags}" LDFLAGS="-framework Foundation" |
---|
23 | |
---|
24 | destroot.destdir DESTDIR=${destroot}${prefix} |
---|
25 | |
---|
26 | variant universal { |
---|
27 | build.args CFLAGS="${configure.cflags} ${configure.universal_cflags}" LDFLAGS="-framework Foundation" |
---|
28 | } |
---|