# -*- 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
description Ports of the Sixth Edition (V6) UNIX Thompson shell
long_description The Etsh Project provides two ports of the original /bin/sh \
from Sixth Edition (V6) UNIX (circa 1975). Etsh is an enhanced port of \
the shell. Tsh is an unenhanced port of the shell, and glob is a port \
of its global command. This project also includes the following shell \
utilities: if, goto, and fd2.
homepage https://etsh.io/
master_sites ${homepage}src/
checksums rmd160 28a90c52738af122e88adaf3255fdb05aa17acfc \
sha256 af561b7fa2f9eb872e2e5a71a8f8e5479f8bb5829a8ec1534f0240475c3dfe5e \
build.args PREFIX=${prefix}
# Ensure use of the correct build utilities.
build.args-append CC=${configure.cc} CPP=${configure.cpp}
# Ensure use of the correct build_arch.
build.args-append OSXCFLAGS="[get_canonical_archflags cc]" \
OSXLDFLAGS="[get_canonical_archflags ld]"
destroot.args PREFIX=${prefix} MANDIR=${prefix}/share/man/man1
destroot.target install install-doc install-exp