Ticket #33689: Portfile-1.18.4

File Portfile-1.18.4, 2.0 KB (added by raimue (Rainer Müller), 12 years ago)

Updated for 1.18.4

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$
3
4PortSystem          1.0
5
6name                fakeroot
7version             1.18.4
8categories          sysutils
9platforms           darwin
10maintainers         eprofs.de:florian openmaintainer
11license             GPL-3
12
13description         tool for simulating superuser privileges
14
15long_description    fakeroot provides a fake \"root environment\" by \
16means of LD_PRELOAD and SysV IPC (or TCP) trickery. It puts wrappers around \
17getuid(), chown(), stat(), and other file-manipulation functions, so that \
18unprivileged users can (for instance) populate tgz archives with root-owned \
19files. \
20On OS X, only binaries that do NOT rely on Mach-based \[e\]uid/\[e\]gid/mode \
21APIs will correctly use fakeroot altered ownership/permissions.
22
23homepage            http://packages.debian.org/testing/fakeroot
24master_sites        debian:f/${name}
25distname            ${name}_${version}.orig
26worksrcdir          ${name}-${version}
27use_bzip2           yes
28
29checksums           md5     706171d8d520b1ca1576ac73f2ceb4f3 \
30                    sha1    60cdd12ea3a72f3676c0f3930ab908ff1f13b996 \
31                    rmd160  36bc511fe3e280d167db5282b485c5f2c540d4e0
32
33depends_build       port:autoconf \
34                    port:automake
35
36pre-configure       { system -W ${worksrcpath} ./bootstrap }
37
38configure.args      --disable-static
39
40test.run            yes
41test.target         check
42
43# Note, that it is necessary to have a fat binary library
44# for fakeroot to work properly for all executables.
45# Hence, we force a universal build:
46variant_set         universal
47default_variants    +universal
48
49# os.major > 9:
50configure.universal_archs          x86_64 i386
51
52platform darwin 9 {
53  configure.universal_archs-append ppc64 ppc
54  configure.ldflags-append         -Wl,-force_cpusubtype_ALL
55}
56
57platform darwin 8 {
58  configure.universal_archs-append ppc64 ppc
59}
60
61livecheck.type      regex
62livecheck.url       ${homepage}
63livecheck.regex     {Package: fakeroot [(]([0-9.]+)}