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

Last change on this file since 42556 was 42556, checked in by blb@…, 12 years ago

New port - shells/osh, ticket #17342

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 42556 2008-11-24 04:01:14Z blb@macports.org $
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.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}
Note: See TracBrowser for help on using the repository browser.