source: trunk/dports/sysutils/fakeroot/Portfile

Last change on this file was 145153, checked in by khindenburg@…, 22 months ago

fakeroot: update to 1.20.2; move back to Debian port; add patches to fix build #49858 maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 145153 2016-01-27 02:33:16Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                fakeroot
7version             1.20.2
8categories          sysutils
9platforms           darwin
10license             GPL-3+
11maintainers         eprofs.de:florian openmaintainer
12
13description         Tool for simulating superuser privileges
14long_description    fakeroot runs a command in an environment where it \
15                    appears to have root privileges for file manipulation. \
16                    It does this by means \
17                    of LD_PRELOAD and SYSV IPC (or TCP) trickery.
18
19homepage            http://wiki.debian.org/FakeRoot/
20
21master_sites        debian:f/${name}
22distname            ${name}_${version}.orig
23worksrcdir          ${name}-${version}
24
25use_bzip2           yes
26
27checksums           rmd160  9f193b56314b797d5c03447e86e7c63299f3c0aa \
28                    sha256  7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c
29
30patchfiles          patch-libfakeroot.c.diff \
31                    patch-message.h.diff \
32                    patch-wrapfunc.inp.diff
33
34# Build settings adapted from instructions at
35# https://github.com/mackyle/fakeroot/blob/787d757/README_MACOSX.txt
36
37use_autoreconf      yes
38autoreconf.cmd      ./bootstrap
39autoreconf.pre_args
40autoreconf.args
41depends_build       port:autoconf port:automake port:libtool
42depends_skip_archcheck-append libtool
43
44default_variants    +universal
45variant_set         universal
46switch -- ${os.major} {
47    8 {
48        configure.universal_archs   x86_64 i386 ppc64 ppc
49        configure.cflags-append     -mmacosx-version-min=10.4
50    }
51    9 {
52        configure.universal_archs   x86_64 i386 ppc64 ppc
53        configure.ldflags-append    -Wl,-force_cpusubtype_ALL
54    }
55    10 {
56        configure.universal_archs   x86_64 i386 ppc
57        configure.cflags-append     -Wno-deprecated-declarations
58        configure.ldflags-append    -Wl,-force_cpusubtype_ALL
59    }
60    default {
61        configure.universal_archs   x86_64 i386
62        configure.cflags-append     -Wno-deprecated-declarations -Wno-extra-tokens
63    }
64}
65
66configure.args      --disable-static
67
68test.run            yes
69test.target         check
70
71livecheck.type      regex
72livecheck.url       http://packages.debian.org/unstable/fakeroot
73livecheck.regex     {fakeroot \(([\d.]+)}
Note: See TracBrowser for help on using the repository browser.