<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8b8b05a30729b11f956483ba52377c2653c28464">https://github.com/macports/macports-ports/commit/8b8b05a30729b11f956483ba52377c2653c28464</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8b8b05a dart-sdk: new port, version 2.0.0
</span>8b8b05a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8b8b05a30729b11f956483ba52377c2653c28464
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sat Aug 18 10:06:54 2018 +0000
<span style='display:block; white-space:pre;color:#404040;'> dart-sdk: new port, version 2.0.0
</span>---
lang/dart-sdk/Portfile | 52 +++++++++++++++++++++++++++++++++++++++++++++
lang/dart-sdk/files/shim.in | 2 ++
2 files changed, 54 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/dart-sdk/Portfile b/lang/dart-sdk/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..26ca6ed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/dart-sdk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name dart-sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description The Dart SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Dart is an open-source, scalable programming language, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with robust libraries and runtimes, for building web, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ server, and mobile apps.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.dartlang.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://storage.googleapis.com/dart-archive/channels/stable/release/${version}/sdk/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname dartsdk-macos-x64-release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 65f2e0760e6a9c70324d8bf05900e9f58c928a18 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7cb9e65cea94ce23b05af4e5224ec416b26c3fb6bf0718778b68f6a73e617cc3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 131266632
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Fix permissions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse dir ${worksrcpath} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isdirectory ${dir}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file attributes ${dir} -permissions 0755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libexecdir ${prefix}/libexec/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath} ${destroot}${libexecdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${libexecdir}/bin/dart ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach bin [glob -tails -directory ${destroot}${libexecdir}/bin pub dart?*] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${filespath}/shim.in ${destroot}${prefix}/bin/${bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@BIN@@|${libexecdir}/bin/${bin}|g" ${destroot}${prefix}/bin/${bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/dart-sdk/files/shim.in b/lang/dart-sdk/files/shim.in
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ab38cbc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/dart-sdk/files/shim.in
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,2 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#!/usr/bin/env bash
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+exec "@@BIN@@" "$@"
</span></pre><pre style='margin:0'>
</pre>