# -*- 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                rx
version             1.5
categories          sysutils
platforms           darwin
maintainers         nomaintainer

description         Replacement for the GNU regex library

long_description    A fast replacement for the GNU regex library.

homepage            https://www.gnu.org/software/rx/rx.html
master_sites        gnu

checksums           md5     e44e5f6ff9fd8ca9d46bda42bcacee5e \
                    sha1    1f29112cea41bb547b551361162be306f8c3995a \
                    rmd160  a1280e17efac1c24c5874965051f0446ca9229b0

# Work around for "Path contains '..'"
extract.post_args-append -P

patchfiles          implicit.patch

destroot.destdir    prefix=${destroot}${prefix}
post-destroot {
    file attributes ${destroot}${prefix}/include/rxposix.h -permissions 0644
}

livecheck.type      none
