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 113063 2013-11-07 10:53:14Z raimue@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name fakeroot |
---|
7 | version 1.20.2 |
---|
8 | categories sysutils |
---|
9 | platforms darwin |
---|
10 | license GPL-3+ |
---|
11 | maintainers eprofs.de:florian openmaintainer |
---|
12 | |
---|
13 | description Tool for simulating superuser privileges |
---|
14 | long_description A fork/clone of the main debian fakeroot \ |
---|
15 | repository that includes enhanced Mac OS X \ |
---|
16 | fakeroot support which has since been merged back \ |
---|
17 | into that repository as of release 1.19-2. \ |
---|
18 | fakeroot provides a fake root environment by means \ |
---|
19 | of LD_PRELOAD and SYSV IPC (or TCP) trickery. |
---|
20 | |
---|
21 | homepage http://wiki.debian.org/FakeRoot/ |
---|
22 | |
---|
23 | master_sites debian:f/${name} |
---|
24 | distname ${name}_${version}.orig |
---|
25 | worksrcdir ${name}-${version} |
---|
26 | |
---|
27 | use_bzip2 yes |
---|
28 | |
---|
29 | checksums rmd160 9f193b56314b797d5c03447e86e7c63299f3c0aa \ |
---|
30 | sha256 7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c |
---|
31 | |
---|
32 | patchfiles patch-libfakeroot.c.diff \ |
---|
33 | patch-wrapfunc.inp.diff |
---|
34 | |
---|
35 | # Build settings adapted from instructions at |
---|
36 | # https://github.com/mackyle/fakeroot/blob/787d757/README_MACOSX.txt |
---|
37 | |
---|
38 | use_autoreconf yes |
---|
39 | autoreconf.cmd ./bootstrap |
---|
40 | autoreconf.pre_args |
---|
41 | autoreconf.args |
---|
42 | depends_build port:autoconf port:automake port:libtool |
---|
43 | depends_skip_archcheck-append libtool |
---|
44 | |
---|
45 | default_variants +universal |
---|
46 | variant_set universal |
---|
47 | switch -- ${os.major} { |
---|
48 | 8 { |
---|
49 | configure.universal_archs x86_64 i386 ppc64 ppc |
---|
50 | configure.cflags-append -mmacosx-version-min=10.4 |
---|
51 | } |
---|
52 | 9 { |
---|
53 | configure.universal_archs x86_64 i386 ppc64 ppc |
---|
54 | configure.ldflags-append -Wl,-force_cpusubtype_ALL |
---|
55 | } |
---|
56 | 10 { |
---|
57 | configure.universal_archs x86_64 i386 ppc |
---|
58 | configure.cflags-append -Wno-deprecated-declarations |
---|
59 | configure.ldflags-append -Wl,-force_cpusubtype_ALL |
---|
60 | } |
---|
61 | default { |
---|
62 | configure.universal_archs x86_64 i386 |
---|
63 | configure.cflags-append -Wno-deprecated-declarations |
---|
64 | } |
---|
65 | } |
---|
66 | |
---|
67 | configure.args --disable-static |
---|
68 | |
---|
69 | test.run yes |
---|
70 | test.target check |
---|
71 | |
---|
72 | livecheck.type regex |
---|
73 | livecheck.url http://packages.debian.org/unstable/fakeroot |
---|
74 | livecheck.regex {fakeroot \(([\d.]+)} |
---|