# $Id: Portfile 51643 2009-05-30 00:00:39Z blb@macports.org $ PortSystem 1.0 name osh version 20090527 categories shells maintainers v6shell.org:jan+mp description Ports of the Sixth Edition (V6) UNIX Thompson shell long_description \ The osh package provides two ports of the original /bin/sh \ from Sixth Edition (V6) UNIX (circa 1975). Osh is an enhanced \ port of the shell, and sh6 is an unenhanced port of the shell. \ This package also includes the following shell utilities \ for use by sh6: glob6, if, goto, and fd2. platforms darwin homepage http://v6shell.org/ master_sites ${homepage}src/ checksums md5 179f79cfe6eb30036189e5ff111aa4ec \ sha1 e13dabfc254c0dd083a9a0674a11730d3afd8eff \ rmd160 24e83098888d8c4c512462abc84d0b2cf5264e5c use_configure no use_parallel_build yes build.args PREFIX=${prefix} destroot.args PREFIX=${prefix} MANDIR=${prefix}/share/man/man1 post-destroot { set docdir ${destroot}${prefix}/share/doc/${name}-${version} xinstall -m 0755 -d ${docdir} xinstall -m 0444 -W ${worksrcpath} \ AUTHORS CHANGES CHANGES-sh_to_sh6 INSTALL \ LICENSE NOTES README ${docdir} } variant universal { build.args-append CFLAGS="${configure.universal_cflags}" \ LDFLAGS="${configure.universal_ldflags}" } livecheck.check regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[0-9\]{8})${extract.suffix}