# $Id$ PortSystem 1.0 name xorg-xproto version 7.0.27 revision 1 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 sha1 b34e7438623c8016cc8338549e5fcc29e2f64034 \ rmd160 1de2d31965275f756eb40b886e135b509278ce45 \ sha256 246f23a6b235c8008183deeb1dcd76d529a099f93600b648b399811b10ea110c post-destroot { set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog \ ${destroot}${docdir} } patch.pre_args -p1 patchfiles \ 0001-darwin-Include-strings.h.patch 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+)*)