source: trunk/dports/graphics/libpixman/Portfile

Last change on this file was 150755, checked in by ryandesign@…, 16 months ago

libpixman, libpixman-devel: enable tests

  • 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 150755 2016-07-28 01:17:16Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               compiler_blacklist_versions 1.0
6PortGroup               muniversal 1.0
7
8# Please keep the libpixman and libpixman-devel ports as similar as possible.
9
10name                    libpixman
11conflicts               libpixman-devel
12set my_name             pixman
13version                 0.34.0
14categories              graphics
15platforms               darwin
16maintainers             ryandesign
17license                 X11
18homepage                http://www.x.org/
19master_sites            http://xorg.freedesktop.org/archive/individual/lib/ \
20                        ${homepage}pub/individual/lib/
21dist_subdir             libpixman-devel
22distname                ${my_name}-${version}
23use_bzip2               yes
24use_parallel_build      yes
25
26description             Pixel region Library
27
28long_description        libpixman is a generic library for manipulating pixel \
29                        regions. A PixRegion is a set of Y-X banded rectangles \
30                        that cover the desired region.
31
32checksums               rmd160  2e4b79160bc913dc0043f9c1710f91801bcb8734 \
33                        sha256  39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0
34
35patchfiles              patch-pixman-pixman-vmx.c.diff
36
37# llvm-gcc-4.2 makes cairo fail to generate PDFs properly
38# clang on Xcode 4.1 cannot build libpixman
39compiler.blacklist      llvm-gcc-4.2 {clang < 211.10.1}
40
41configure.args          ac_cv_prog_AWK=/usr/bin/awk \
42                        ac_cv_path_GREP=/usr/bin/grep \
43                        lt_cv_path_SED=/usr/bin/sed \
44                        --disable-gtk \
45                        --disable-libpng \
46                        --disable-mmx
47
48build.args              V=1
49
50test.run                yes
51test.target             check
52
53post-destroot {
54    set docdir ${destroot}${prefix}/share/doc/libpixman
55    xinstall -d ${docdir}
56    xinstall -m 644 -W ${worksrcpath} \
57        COPYING \
58        README \
59        ${docdir}
60}
61
62platform darwin 8 powerpc {
63    # apple-gcc-4.2 makes Tiger ppc fail to detect pthread support and then fail to build
64    compiler.blacklist-append apple-gcc-4.2
65}
66
67livecheck.type          regex
68livecheck.url           [lindex ${master_sites} 0]
69livecheck.regex         ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.