# -*- 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                reflex
version             2.5.4-20260131
revision            0
checksums           rmd160  c002a5992c73c5629a842f2b7fc494cb7d89c5ba \
                    sha256  ab51a65f33623bb9a3877fc5991ca7960b2421ed112d94c733d85597991748bd \
                    size    492074

set version_date    [lindex [split ${version} -] 1]
categories          devel
maintainers         {ryandesign @ryandesign} openmaintainer
# US Department of Energy is listed as having rights in the work, so UC's
# rescinding of the advertising clause may not apply to all portions.
license             BSD-old

description         a variant of the flex fast lexical scanner

long_description    Reflex is a new implementation of flex, which is a tool \
                    for generating programs that perform pattern-matching on \
                    text.

homepage            https://invisible-island.net/reflex/
master_sites        https://invisible-island.net/archives/${name}/ \
                    https://invisible-mirror.net/archives/${name}/
distname            ${name}-${version_date}
extract.suffix      .tgz

test.run            yes
test.target         bigcheck

livecheck.type      regex
livecheck.version   ${version_date}
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
