PortSystem          1.0

name                xorg-scripts
set my_name         scripts
version             1.0.1
categories          x11
license             X11
maintainers         {jeremyhu @jeremyhu} openmaintainer
description         Several useful X11 scripts: fontname.sh, fontprop.sh, xon
long_description \
   Installs several useful X11 scripts: fontname.sh, generates a FONT \
   property.  fontprop.sh, generates various XLFD font properties. xon, \
   which starts an X11 program on a remote machine.

platforms           darwin
supported_archs     noarch

homepage            https://www.x.org/
distname            ${my_name}-${version}
master_sites        xorg:individual/app/
use_bzip2           yes

checksums           md5     08c7f078fc351196c21db3a8206d482d \
                    sha1    e5785e243cea56c48a6492f6ec329c5cf7dbbca6 \
                    rmd160  7afc3e528c9cdf853ec4ede6eada498e79425384

depends_build       port:pkgconfig port:xorg-libX11

configure.args      --mandir=${prefix}/share/man

post-destroot {
   delete ${destroot}${prefix}/bin/xauth_switch_to_sun-des-1
}

livecheck.type      regex
livecheck.regex     ${my_name}-(\[\\d.\]+)${extract.suffix}
livecheck.url       http://xorg.freedesktop.org/archive/individual/app/?C=M&O=D