# $Id: Portfile 149936 2016-07-06 01:05:56Z ryandesign@macports.org $ PortSystem 1.0 name xorg-xcb-proto version 1.12 revision 1 categories x11 devel license X11 maintainers jeremyhu openmaintainer description X.org xcb-proto homepage http://xcb.freedesktop.org platforms darwin macosx supported_archs noarch long_description XML-XCB protocol descriptions master_sites ${homepage}/dist/ distname xcb-proto-${version} checksums sha1 e93da374ecef9359370edc0160bcb8b2a2f7d9f6 \ rmd160 95e933656e7f8a59347296d75255e42e6f4a932a \ sha256 5922aba4c664ab7899a29d92ea91a87aa4c1fc7eb5ee550325c3216c480a4906 use_bzip2 yes depends_run port:libxml2 patch.pre_args -p1 patchfiles \ 0001-Make-whitespace-use-consistent.patch \ 0002-print-is-a-function-and-needs-parentheses.patch \ 0003-res-Fix-QueryClientIds-reply-size.patch \ 0004-Update-XML-schema-to-fix-make-check.patch variant python27 conflicts python34 python35 description {Use python 2.7} { depends_lib-append port:python27 configure.python ${prefix}/bin/python2.7 } variant python34 conflicts python27 python35 description {Use python 3.4} { depends_lib-append port:python34 configure.python ${prefix}/bin/python3.4 } variant python35 conflicts python27 python34 description {Use python 3.5} { depends_lib-append port:python35 configure.python ${prefix}/bin/python3.5 } if {![variant_isset python34] && ![variant_isset python35]} { default_variants +python27 } livecheck.type regex livecheck.url ${master_sites}?C=M&O=D livecheck.regex xcb-proto-(\\d+(?:\\.\\d+)*)