# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                bitmap
version             1.0.9
categories          x11 graphics
maintainers         {jeremyhu @jeremyhu} openmaintainer
license             X11
description         Bitmap editor and converter utilities for X11
long_description    ${description}

platforms           darwin

homepage            https://www.x.org/
master_sites        xorg:individual/app/
use_bzip2           yes

checksums           rmd160  7e5fc4364c0f5745780d698cb88223f8785d3597 \
                    sha256  e0f3afad5272d796f54c33fa1b5bd1fb3f62843a54b28c87196d06a35123e5f5 \
                    size    181401

depends_build       port:pkgconfig

depends_lib         port:xorg-libXaw port:xbitmaps

post-destroot {
        # This conflicts with stipple from the bitmap port for case-insensitive file systems
        delete ${destroot}${prefix}/include/X11/bitmaps/Stipple
}


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