# -*- 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
PortGroup           openssl 1.0

name                snobol4
version             2.3.3
revision            0
categories          lang
license             BSD
maintainers         openmaintainer \
                    regressive.org:snobol4
homepage            https://www.regressive.org/snobol4/
master_sites        ftp://ftp.regressive.org/snobol \
                    https://ftp.regressive.org/snobol

description         SNOBOL4 programming language

long_description    SNOBOL4 (StriNg Oriented and symBOlic Language) is \
                    a language for text processing, pattern matching, \
                    and much more, first designed and implemented at \
                    Bell Telephone Laboratories, Inc. (BTL) in the 1970's. \
                    Includes SPITBOL, Blocks and other extensions.

checksums           rmd160  bf3611700411c1e25075aca4e8d61c48c2c56155 \
                    sha256  bfd53071d69283776f5b2764f7865d354b89d372569854a18878e59f57388ed2 \
                    size    988424

# maximal list for reproducible builds.
# NOTE: libffi and libsqlite used by BASEDIR/lib/snobol4/VERS/lib/shared/{ffi,sqlite3}.bundle
depends_lib         port:bzip2 \
                    port:libffi \
                    port:readline \
                    port:sqlite3 \
                    port:xz \
                    port:zlib

use_parallel_build  no
# --no-opt to omit -O3 (ports uses -Os)
configure.args      --mandir=${prefix}/share/man --no-opt
configure.universal_args-delete --disable-dependency-tracking

# avoid running benchmark on build & install
# (still runs regression tests before using binary)
build.target        build_all
destroot.target     install_notiming

livecheck.type      regex
livecheck.url       https://ftp.regressive.org/snobol
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
