# $Id: Portfile 153079 2016-09-23 20:36:00Z jeremyhu@macports.org $ PortSystem 1.0 name xorg-xproto version 7.0.31 categories x11 devel license X11 maintainers jeremyhu openmaintainer description X.org xproto homepage http://www.x.org platforms darwin supported_archs noarch long_description The X.org xproto package contains miscellaneous X11 prototype headers. master_sites xorg:individual/proto/ distname xproto-${version} use_bzip2 yes checksums rmd160 27350d33fd2bbc14201231d9fd30629f899b6005 \ sha256 c6f9747da0bd3a95f86b17fb8dd5e717c8f3ab7f0ece3ba1b247899ec1ef7747 post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog \ ${destroot}${docdir} } configure.args \ --without-xmlto \ --without-fop \ --disable-specs build.args V=1 # Depending on ghostscript for the PDF documentation creates a dependency # loop, so you may want to install first without the docs variant variant docs description "Install extra documentation" { depends_build-append \ port:fop \ port:xmlto \ port:xorg-sgml-doctools configure.args-delete \ --without-xmlto \ --without-fop \ --disable-specs configure.args-append \ --with-xmlto \ --with-fop \ --enable-specs configure.env-append \ XMLTO="${prefix}/bin/xmlto" \ FOP="${prefix}/bin/fop" } livecheck.type regex livecheck.url http://xorg.freedesktop.org/archive/individual/proto/?C=M&O=D livecheck.regex xproto-(\\d+(?:\\.\\d+)*)