source: trunk/dports/x11/xorg-xcb-proto/Portfile

Last change on this file was 149936, checked in by ryandesign@…, 15 months ago

xorg-xcb-proto: correctly indicate variant conflicts

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 149936 2016-07-06 01:05:56Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            xorg-xcb-proto
6version         1.12
7revision        1
8categories      x11 devel
9license         X11
10maintainers     jeremyhu openmaintainer
11description     X.org xcb-proto
12homepage        http://xcb.freedesktop.org
13platforms       darwin macosx
14supported_archs noarch
15long_description XML-XCB protocol descriptions
16master_sites     ${homepage}/dist/
17
18distname        xcb-proto-${version}
19checksums           sha1    e93da374ecef9359370edc0160bcb8b2a2f7d9f6 \
20                    rmd160  95e933656e7f8a59347296d75255e42e6f4a932a \
21                    sha256  5922aba4c664ab7899a29d92ea91a87aa4c1fc7eb5ee550325c3216c480a4906
22
23use_bzip2       yes
24
25depends_run     port:libxml2
26
27patch.pre_args -p1
28patchfiles \
29    0001-Make-whitespace-use-consistent.patch \
30    0002-print-is-a-function-and-needs-parentheses.patch \
31    0003-res-Fix-QueryClientIds-reply-size.patch \
32    0004-Update-XML-schema-to-fix-make-check.patch
33
34variant python27 conflicts python34 python35 description {Use python 2.7} {
35    depends_lib-append      port:python27
36    configure.python        ${prefix}/bin/python2.7
37}
38
39variant python34 conflicts python27 python35 description {Use python 3.4} {
40    depends_lib-append      port:python34
41    configure.python        ${prefix}/bin/python3.4
42}
43
44variant python35 conflicts python27 python34 description {Use python 3.5} {
45    depends_lib-append      port:python35
46    configure.python        ${prefix}/bin/python3.5
47}
48
49if {![variant_isset python34] && ![variant_isset python35]} {
50    default_variants +python27
51}
52
53livecheck.type  regex
54livecheck.url   ${master_sites}?C=M&O=D
55livecheck.regex xcb-proto-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.