source: trunk/dports/graphics/libpixman-devel/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-devel
11conflicts               libpixman
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/
21distname                ${my_name}-${version}
22use_bzip2               yes
23use_parallel_build      yes
24
25description             Pixel region Library
26
27long_description        libpixman is a generic library for manipulating pixel \
28                        regions. A PixRegion is a set of Y-X banded rectangles \
29                        that cover the desired region.
30
31checksums               rmd160  2e4b79160bc913dc0043f9c1710f91801bcb8734 \
32                        sha256  39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0
33
34patchfiles              patch-pixman-pixman-vmx.c.diff
35
36# llvm-gcc-4.2 makes cairo fail to generate PDFs properly
37# clang on Xcode 4.1 cannot build libpixman
38compiler.blacklist      llvm-gcc-4.2 {clang < 211.10.1}
39
40configure.args          ac_cv_prog_AWK=/usr/bin/awk \
41                        ac_cv_path_GREP=/usr/bin/grep \
42                        lt_cv_path_SED=/usr/bin/sed \
43                        --disable-gtk \
44                        --disable-libpng \
45                        --disable-mmx
46
47build.args              V=1
48
49test.run                yes
50test.target             check
51
52post-destroot {
53    set docdir ${destroot}${prefix}/share/doc/libpixman
54    xinstall -d ${docdir}
55    xinstall -m 644 -W ${worksrcpath} \
56        COPYING \
57        README \
58        ${docdir}
59}
60
61platform darwin 8 powerpc {
62    # apple-gcc-4.2 makes Tiger ppc fail to detect pthread support and then fail to build
63    compiler.blacklist-append apple-gcc-4.2
64}
65
66livecheck.type          regex
67livecheck.url           [lindex ${master_sites} 0]
68livecheck.regex         ${my_name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.