source: trunk/dports/graphics/libpixman-devel/Portfile @ 54157

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

libpixman-devel: update to 0.15.18

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 54157 2009-07-22 04:40:30Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               muniversal 1.0
5
6name                    libpixman-devel
7set my_name             pixman
8version                 0.15.18
9categories              graphics
10platforms               darwin
11maintainers             ryandesign
12homepage                http://www.x.org/
13master_sites            http://xorg.freedesktop.org/archive/individual/lib/ \
14                        ${homepage}pub/individual/lib/
15distname                ${my_name}-${version}
16use_bzip2               yes
17use_parallel_build      yes
18
19description \
20    Pixel region Library
21
22long_description \
23    libpixman is a generic library for manipulating pixel regions. A \
24    PixRegion is a set of Y-X banded rectangles that cover the desired region.
25
26checksums \
27    md5     87d256db0440e579f113cd4fb67cbfb0 \
28    sha1    30d953ff32338740dfdba8764f4cc8545b96d370 \
29    rmd160  f2aa711db7154faafd85d9567686ab77fb36a955
30
31pre-extract {
32    if {"darwin" == ${os.platform} && 7 == ${os.major}} {
33        set minimum_xcodeversion 1.5
34        set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
35        if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
36            ui_error "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} but you have Xcode ${current_xcodeversion}."
37            return -code error "incompatible Xcode version"
38        }
39    }
40}
41
42configure.args \
43    --disable-gtk
44
45post-destroot {
46    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
47    xinstall -d ${docdir}
48    eval xinstall -m 644 -W ${worksrcpath} \
49        AUTHORS \
50        COPYING \
51        [glob ${worksrcpath}/ChangeLog*] \
52        NEWS \
53        README \
54        TODO \
55        ${docdir}
56}
57
58livecheck.check         regex
59livecheck.url           [lindex ${master_sites} 0]?C=M&O=D
60livecheck.regex         ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*)\\.tar
Note: See TracBrowser for help on using the repository browser.