# -*- 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
# $Id$

PortSystem          1.0

name                reflex
version             2.5.4-20131209
set version_date    [lindex [split ${version} -] 1]
categories          devel
platforms           darwin
maintainers         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            http://invisible-island.net/reflex/
master_sites        ftp://invisible-island.net/reflex/
distname            ${name}-${version_date}
extract.suffix      .tgz

checksums           rmd160  1abf5c126f89c72d6b5d78fd112d0495e54a0105 \
                    sha256  0ebbfa2d564e1e211ccf862ad6f12dbffa784164ea4492d08b9d50a592aaf0e2

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

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}