# $Id: Portfile 43605 2008-12-12 09:44:18Z toby@macports.org $ PortSystem 1.0 name osh version 20081213 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 external \ shell utilities: glob6, if, goto, and fd2. platforms darwin homepage http://v6shell.org/ master_sites ${homepage}src/ checksums md5 c852ff3144c982f5b6e7a16012f67e88 \ sha1 a097e9ae2ec1de640e4d559b0b6432a2aa2ed06f \ rmd160 e91a58210c26b0cc7a741745572d3195d09199e4 use_configure no build.args PREFIX=${prefix} # NOTE: INSTALL=... can be removed after MacPorts 1.7 is released. destroot.env INSTALL=${configure.install} 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}