source: trunk/dports/x11/xrender/Portfile @ 32193

Last change on this file since 32193 was 32193, checked in by ryandesign@…, 11 years ago

xrender: now that MacPorts 1.6 is out, we can use ${sysroot}

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 32193 2007-12-19 12:43:35Z ryandesign@macports.org $
2
3PortSystem                      1.0
4
5name                            xrender
6set my_name         libXrender
7version                         0.9.0
8revision            2
9categories                      x11
10platforms                       darwin
11maintainers                     nomaintainer
12description                     X Render Extension library
13
14long_description        ${description}
15
16homepage                        http://fontconfig.org/
17master_sites            http://xlibs.freedesktop.org/release/
18distname                        ${my_name}-${version}
19use_bzip2                       yes
20
21checksums           md5 ce7cda009aa0b10a73637941d44ae789 \
22                    sha1 98437c8eadf6caa78ceed2b748d72da97b154359 \
23                    rmd160 4d1bf4aa5fd24b35094773d4bdb3b2834ce971c2
24
25depends_lib                     lib:libX11.6:XFree86 \
26                                        port:render
27
28post-patch {
29    # Brute-force things into building with the universal LDFLAGS
30    if {[variant_isset universal]} {
31        reinplace "s|-dynamiclib|-dynamiclib ${configure.universal_ldflags}|g" \
32            ${worksrcpath}/configure \
33            ${worksrcpath}/ltmain.sh
34    }
35}
36
37configure.universal_ldflags-append  -isysroot ${sysroot}
38
39post-destroot {
40    set docdir ${prefix}/share/doc/${name}-${version}
41    xinstall -d ${destroot}${docdir}
42    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
43        ${destroot}${docdir}
44}
45
46platform darwin 8 {
47        configure.compiler      gcc-4.0
48}
49
50livecheck.check regex
51livecheck.url   ${master_sites}?C=M&O=D
52livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
53
Note: See TracBrowser for help on using the repository browser.