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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup compiler_blacklist_versions 1.0 |
---|
6 | PortGroup muniversal 1.0 |
---|
7 | |
---|
8 | # Please keep the libpixman and libpixman-devel ports as similar as possible. |
---|
9 | |
---|
10 | name libpixman |
---|
11 | conflicts libpixman-devel |
---|
12 | set my_name pixman |
---|
13 | version 0.34.0 |
---|
14 | categories graphics |
---|
15 | platforms darwin |
---|
16 | maintainers ryandesign |
---|
17 | license X11 |
---|
18 | homepage http://www.x.org/ |
---|
19 | master_sites http://xorg.freedesktop.org/archive/individual/lib/ \ |
---|
20 | ${homepage}pub/individual/lib/ |
---|
21 | dist_subdir libpixman-devel |
---|
22 | distname ${my_name}-${version} |
---|
23 | use_bzip2 yes |
---|
24 | use_parallel_build yes |
---|
25 | |
---|
26 | description Pixel region Library |
---|
27 | |
---|
28 | long_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 | |
---|
32 | checksums rmd160 2e4b79160bc913dc0043f9c1710f91801bcb8734 \ |
---|
33 | sha256 39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0 |
---|
34 | |
---|
35 | patchfiles 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 |
---|
39 | compiler.blacklist llvm-gcc-4.2 {clang < 211.10.1} |
---|
40 | |
---|
41 | configure.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 | |
---|
48 | build.args V=1 |
---|
49 | |
---|
50 | test.run yes |
---|
51 | test.target check |
---|
52 | |
---|
53 | post-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 | |
---|
62 | platform 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 | |
---|
67 | livecheck.type regex |
---|
68 | livecheck.url [lindex ${master_sites} 0] |
---|
69 | livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix} |
---|