Source
PortSystem 1.0
name xorg-xtrans
version 1.3.5
categories x11 devel
license X11
maintainers {jeremyhu @jeremyhu} openmaintainer
description X.org xtrans
homepage https://www.x.org
platforms darwin macosx
supported_archs noarch
long_description X Network Transport layer shared code
master_sites xorg:individual/lib/
distname xtrans-${version}
checksums sha1 2d3ae1839d841f568bc481c6116af7d2a9f9ba59 \
rmd160 6c10698f7ab65579af7836e47892440f6c6e3bdb \
sha256 adbd3b36932ce4c062cd10f57d78a156ba98d618bdb6f50664da327502bc8301
use_bzip2 yes
configure.args \
--without-xmlto \
--without-fop \
--disable-docs
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-docs
configure.args-append \
--with-xmlto \
--with-fop \
--enable-docs
configure.env-append \
XMLTO="${prefix}/bin/xmlto" \
FOP="${prefix}/bin/fop"
}
livecheck.type regex
livecheck.url http://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D
livecheck.regex xtrans-(\\d+(?:\\.\\d+)*)