1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 115381 2014-01-01 05:42:04Z jeremyhu@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name mksh |
---|
7 | version R49 |
---|
8 | categories shells |
---|
9 | license BSD |
---|
10 | platforms darwin |
---|
11 | maintainers gmail.com:mschamschula |
---|
12 | |
---|
13 | description A free implementation of the Korn Shell programming language |
---|
14 | long_description A free implementation of the Korn Shell programming language and \ |
---|
15 | a successor to the Public Domain Korn Shell (pdksh). |
---|
16 | homepage https://www.mirbsd.org/mksh.htm |
---|
17 | |
---|
18 | extract.suffix .tgz |
---|
19 | worksrcdir ${name} |
---|
20 | |
---|
21 | master_sites https://www.mirbsd.org/MirOS/dist/mir/mksh/ |
---|
22 | |
---|
23 | checksums rmd160 fa7a24e604daea30d5e5fd7bb78e24b2d7044764 \ |
---|
24 | sha256 4dd6c37fe2b8603be3d59744d7866d72913fca49d8a68d3254d064b12eb3da49 |
---|
25 | |
---|
26 | use_configure no |
---|
27 | |
---|
28 | build.cmd { |
---|
29 | chmod a+x Build.sh |
---|
30 | ./Build.sh |
---|
31 | } |
---|
32 | build.target-delete all |
---|
33 | |
---|
34 | destroot { |
---|
35 | xinstall -d ${workpath}/${destdir}${prefix}/share/doc/mksh/examples/ |
---|
36 | xinstall -o root -g bin -m 555 ${worksrcpath}/mksh ${workpath}/${destdir}${prefix}/bin |
---|
37 | xinstall -o root -g bin -m 444 ${worksrcpath}/dot.mkshrc ${workpath}/${destdir}${prefix}/share/doc/mksh/examples |
---|
38 | xinstall -o root -g bin -m 444 ${worksrcpath}/mksh.1 ${workpath}/${destdir}${prefix}/share/man/man1 |
---|
39 | } |
---|