source: trunk/dports/shells/osh/Portfile @ 43605

Last change on this file since 43605 was 43605, checked in by toby@…, 9 years ago

update from maintainer, #17616

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 43605 2008-12-12 09:44:18Z toby@macports.org $
2
3PortSystem      1.0
4
5name            osh
6version         20081213
7categories      shells
8maintainers     v6shell.org:jan+mp
9description     Ports of the Sixth Edition (V6) UNIX Thompson shell
10long_description \
11                The osh package provides two ports of the original /bin/sh \
12                from Sixth Edition (V6) UNIX (circa 1975). Osh is an enhanced \
13                port of the shell, and sh6 is an unenhanced port of the shell. \
14                This package also includes the following external \
15                shell utilities: glob6, if, goto, and fd2.
16platforms       darwin
17homepage        http://v6shell.org/
18master_sites    ${homepage}src/
19
20checksums       md5 c852ff3144c982f5b6e7a16012f67e88 \
21                sha1 a097e9ae2ec1de640e4d559b0b6432a2aa2ed06f \
22                rmd160 e91a58210c26b0cc7a741745572d3195d09199e4
23
24use_configure   no
25
26build.args      PREFIX=${prefix}
27
28# NOTE: INSTALL=... can be removed after MacPorts 1.7 is released.
29destroot.env    INSTALL=${configure.install}
30destroot.args   PREFIX=${prefix} MANDIR=${prefix}/share/man/man1
31
32post-destroot {
33        set     docdir  ${destroot}${prefix}/share/doc/${name}-${version}
34        xinstall -m 0755 -d ${docdir}
35        xinstall -m 0444 -W ${worksrcpath} \
36                AUTHORS CHANGES CHANGES-sh_to_sh6 INSTALL \
37                LICENSE NOTES README ${docdir}
38}
39
40variant universal {
41        build.args-append       CFLAGS="${configure.universal_cflags}" \
42                                LDFLAGS="${configure.universal_ldflags}"
43}
44
45livecheck.check regex
46livecheck.url   ${master_sites}
47livecheck.regex ${name}-(\[0-9\]{8})${extract.suffix}
Note: See TracBrowser for help on using the repository browser.