1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name osh |
---|
6 | version 20081122 |
---|
7 | categories shells |
---|
8 | maintainers v6shell.org:jan+mp |
---|
9 | description Ports of the Sixth Edition (V6) UNIX Thompson shell |
---|
10 | long_description \ |
---|
11 | The osh package contains two ports of the original /bin/sh \ |
---|
12 | from Sixth Edition (V6) UNIX (circa 1975). Where osh is an \ |
---|
13 | enhanced port of the shell, sh6 is an unenhanced port. \ |
---|
14 | This package also includes the following external \ |
---|
15 | shell utilities: glob6, if, goto, and fd2. |
---|
16 | homepage http://v6shell.org/ |
---|
17 | platforms darwin |
---|
18 | master_sites http://v6shell.org/src/ |
---|
19 | |
---|
20 | checksums md5 6f3bdb83037bf3fa39c81ece40fe5417 \ |
---|
21 | sha1 e0caff3904e253aa76836eb12f36915e08298080 \ |
---|
22 | rmd160 ca055f45178109ff8a71912451bb5697468d9fbb |
---|
23 | |
---|
24 | use_configure no |
---|
25 | |
---|
26 | build.args PREFIX=${prefix} |
---|
27 | |
---|
28 | # NOTE: INSTALL=... can be removed after MacPorts 1.7 is released. |
---|
29 | destroot.env INSTALL=${configure.install} |
---|
30 | destroot.args PREFIX=${prefix} MANDIR=${prefix}/share/man/man1 |
---|
31 | |
---|
32 | post-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 | |
---|
40 | variant universal { |
---|
41 | build.args-append CFLAGS="${configure.universal_cflags}" \ |
---|
42 | LDFLAGS="${configure.universal_ldflags}" |
---|
43 | } |
---|