# -*- 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 # $Id$ PortSystem 1.0 name fakeroot version 1.20.2 categories sysutils platforms darwin license GPL-3+ maintainers eprofs.de:florian openmaintainer description Tool for simulating superuser privileges long_description fakeroot runs a command in an environment where it \ appears to have root privileges for file manipulation. \ It does this by means \ of LD_PRELOAD and SYSV IPC (or TCP) trickery. homepage http://wiki.debian.org/FakeRoot/ master_sites debian:f/${name} distname ${name}_${version}.orig worksrcdir ${name}-${version} use_bzip2 yes checksums rmd160 9f193b56314b797d5c03447e86e7c63299f3c0aa \ sha256 7c0a164d19db3efa9e802e0fc7cdfeff70ec6d26cdbdc4338c9c2823c5ea230c patchfiles patch-libfakeroot.c.diff \ patch-message.h.diff \ patch-wrapfunc.inp.diff # Build settings adapted from instructions at # https://github.com/mackyle/fakeroot/blob/787d757/README_MACOSX.txt use_autoreconf yes autoreconf.cmd ./bootstrap autoreconf.pre_args autoreconf.args depends_build port:autoconf port:automake port:libtool depends_skip_archcheck-append libtool default_variants +universal variant_set universal switch -- ${os.major} { 8 { configure.universal_archs x86_64 i386 ppc64 ppc configure.cflags-append -mmacosx-version-min=10.4 } 9 { configure.universal_archs x86_64 i386 ppc64 ppc configure.ldflags-append -Wl,-force_cpusubtype_ALL } 10 { configure.universal_archs x86_64 i386 ppc configure.cflags-append -Wno-deprecated-declarations configure.ldflags-append -Wl,-force_cpusubtype_ALL } default { configure.universal_archs x86_64 i386 configure.cflags-append -Wno-deprecated-declarations -Wno-extra-tokens } } configure.args --disable-static test.run yes test.target check livecheck.type regex livecheck.url http://packages.debian.org/unstable/fakeroot livecheck.regex {fakeroot \(([\d.]+)}