[120262] trunk/dports/shells

ryandesign at macports.org ryandesign at macports.org
Tue May 20 15:43:40 PDT 2014


Revision: 120262
          https://trac.macports.org/changeset/120262
Author:   ryandesign at macports.org
Date:     2014-05-20 15:43:40 -0700 (Tue, 20 May 2014)
Log Message:
-----------
mksh: new port, version R49 (#43763)

Revision Links:
--------------
    https://trac.macports.org/changeset/49

Added Paths:
-----------
    trunk/dports/shells/mksh/
    trunk/dports/shells/mksh/Portfile

Added: trunk/dports/shells/mksh/Portfile
===================================================================
--- trunk/dports/shells/mksh/Portfile	                        (rev 0)
+++ trunk/dports/shells/mksh/Portfile	2014-05-20 22:43:40 UTC (rev 120262)
@@ -0,0 +1,49 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                mksh
+version             R49
+categories          shells
+platforms           darwin
+maintainers         gmail.com:mschamschula
+license             BSD
+
+description         A free implementation of the Korn Shell programming language
+long_description    A free implementation of the Korn Shell programming language and \
+                    a successor to the Public Domain Korn Shell (pdksh).
+
+homepage            https://www.mirbsd.org/mksh.htm
+master_sites        https://www.mirbsd.org/MirOS/dist/mir/mksh/
+
+extract.suffix      .tgz
+worksrcdir          ${name}
+
+checksums           rmd160  fa7a24e604daea30d5e5fd7bb78e24b2d7044764 \
+                    sha256  4dd6c37fe2b8603be3d59744d7866d72913fca49d8a68d3254d064b12eb3da49
+
+post-extract {
+    file attributes ${worksrcpath}/Build.sh -permissions a+x
+}
+
+use_configure       no
+
+variant universal {}
+
+build.cmd           ./Build.sh
+build.target
+if {${build.jobs} > 1} {
+    build.args-append -j
+}
+build.env           CC="${configure.cc}" \
+                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                    CPPFLAGS="${configure.cppflags}" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
+
+destroot {
+    xinstall -d ${destroot}${prefix}/share/doc/mksh/examples/
+    xinstall -m 755 ${worksrcpath}/mksh ${destroot}${prefix}/bin
+    xinstall -m 644 ${worksrcpath}/dot.mkshrc ${destroot}${prefix}/share/doc/mksh/examples
+    xinstall -m 644 ${worksrcpath}/mksh.1 ${destroot}${prefix}/share/man/man1
+}


Property changes on: trunk/dports/shells/mksh/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140520/fe7299e0/attachment.html>


More information about the macports-changes mailing list