Ticket #33689: Portfile-with-libtool

File Portfile-with-libtool, 2.1 KB (added by dank@…, 11 years ago)

Updated with missing libtool build dep

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:libtool \
35                    port:automake
36
37pre-configure       { system -W ${worksrcpath} ./bootstrap }
38
39configure.args      --disable-static
40
41test.run            yes
42test.target         check
43
44# Note, that it is necessary to have a fat binary library
45# for fakeroot to work properly for all executables.
46# Hence, we force a universal build:
47variant_set         universal
48default_variants    +universal
49
50# os.major > 9:
51configure.universal_archs          x86_64 i386
52
53platform darwin 9 {
54  configure.universal_archs-append ppc64 ppc
55  configure.ldflags-append         -Wl,-force_cpusubtype_ALL
56}
57
58platform darwin 8 {
59  configure.universal_archs-append ppc64 ppc
60}
61
62livecheck.type      regex
63livecheck.url       ${homepage}
64livecheck.regex     {Package: fakeroot [(]([0-9.]+)}