Ticket #17342: Portfile.jan1

File Portfile.jan1, 1.3 KB (added by jan+mp@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4
5name            osh
6version         20081122
7categories      shells
8maintainers     v6shell.org:jan+mp
9description     Ports of the Sixth Edition (V6) UNIX Thompson shell
10long_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.
16homepage        http://v6shell.org/
17platforms       darwin
18master_sites    http://v6shell.org/src/
19
20checksums       md5 6f3bdb83037bf3fa39c81ece40fe5417 \
21                sha1 e0caff3904e253aa76836eb12f36915e08298080 \
22                rmd160 ca055f45178109ff8a71912451bb5697468d9fbb
23
24use_configure   no
25
26build.pre_args  ${build.target} 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      CFLAGS="${configure.universal_cflags}" \
42                        LDFLAGS="${configure.universal_ldflags}"
43}