# -*- 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.1
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  a05be6f3d02005deaae6d9b00763aa99f4160a2e \
                    sha256  91244d67d4e29d2aadce5655bd4382ffab44c624a7ea4ad6411427f3abf17535 \
                    size    986906

# 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}
