<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[136835] trunk/dports/lang/rust/Portfile</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/136835">136835</a></dd>
<dt>Author</dt> <dd>g5pw@macports.org</dd>
<dt>Date</dt> <dd>2015-05-28 01:25:03 -0700 (Thu, 28 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>devel/rust:
  update to 1.0.0 (fixes #47854)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangrustPortfile">trunk/dports/lang/rust/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangrustPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/rust/Portfile (136834 => 136835)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/rust/Portfile        2015-05-28 08:17:25 UTC (rev 136834)
+++ trunk/dports/lang/rust/Portfile        2015-05-28 08:25:03 UTC (rev 136835)
</span><span class="lines">@@ -4,10 +4,9 @@
</span><span class="cx"> PortSystem          1.0
</span><span class="cx"> PortGroup           active_variants 1.1
</span><span class="cx"> PortGroup           compiler_blacklist_versions 1.0
</span><del>-PortGroup           github 1.0
</del><span class="cx"> 
</span><del>-github.setup        rust-lang rust 8a8986776d16c16ef4685aa38c3f6a2c0efa7884
-version             0.12.0-pre-20140903-8a89867
</del><ins>+name                rust
+version             1.0.0
</ins><span class="cx"> categories          lang devel
</span><span class="cx"> platforms           darwin
</span><span class="cx"> supported_archs     i386 x86_64
</span><span class="lines">@@ -34,55 +33,44 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-worksrcdir              ${github.project}
-
</del><span class="cx"> # To take advantage of distfile mirroring and checksumming for the
</span><span class="cx"> # snapshot compiler, we let base treat it as the distfile and deal with
</span><span class="cx"> # the actual Rust source &quot;manually&quot;.
</span><span class="cx"> 
</span><del>-depends_fetch-append    bin:git:git
-pre-fetch {
-    # Clone repository.
-    set opts &quot;--quiet --no-checkout --single-branch&quot;
-    set cmdstring &quot;${git.cmd} clone ${opts} ${git.url} \&quot;${worksrcpath}\&quot; 2&gt;&amp;1&quot;
-    ui_debug &quot;Executing ${cmdstring}&quot;
-    if {[catch {system ${cmdstring}} -]} {
-        return -code error [msgcat::mc &quot;Git clone failed&quot;]
-    }
-    # Check out branch.
-    set cmdstring &quot;${git.cmd} checkout --quiet ${git.branch} 2&gt;&amp;1&quot;
-    ui_debug &quot;Executing $cmdstring&quot;
-    if {[catch {system -W ${worksrcpath} ${cmdstring}} -]} {
-        return -code error [msgcat::mc &quot;Git checkout failed&quot;]
-    }
-    # Update submodules.
-    set cmdstring &quot;${git.cmd} submodule update --init 2&gt;&amp;1&quot;
-    ui_debug &quot;Executing $cmdstring&quot;
-    if {[catch {system -W ${worksrcpath} ${cmdstring}} -]} {
-        return -code error [msgcat::mc &quot;Git submodule update failed&quot;]
-    }
-}
-
</del><span class="cx"> # Download the snapshot compiler; see src/snapshots.txt in the Rust
</span><span class="cx"> # distribution.
</span><del>-master_sites            http://static.rust-lang.org/stage0-snapshots
</del><ins>+master_sites            https://static.rust-lang.org/dist/:main \
+                        https://static.rust-lang.org/stage0-snapshots/:snap
+
+distfiles               ${name}c-${version}-src${extract.suffix}:main
+worksrcdir              ${name}c-${version}
+
+checksums               ${name}c-${version}-src${extract.suffix} \
+                            rmd160  b1127e616619fcd981e33896d4f00c4bf548ce6b \
+                            sha256  c304cbd4f7b25d116b73c249f66bdb5c9da8645855ce195a41bda5077b995eba
+
</ins><span class="cx"> set stage0(distdir)     rust-stage0
</span><del>-set stage0(date)        2014-08-29
-set stage0(rev)         6025926
</del><ins>+set stage0(date)        2015-03-27
+set stage0(rev)         5520801
</ins><span class="cx"> set stage0(platform)    macos-${configure.build_arch}
</span><span class="cx"> set stage0(hash)        [expr {${configure.build_arch} eq &quot;i386&quot; ?
</span><del>-                                &quot;deffce32408b023bcda84f6ce338ca3de02f406b&quot; :
-                                &quot;8ef7351e34fc1583570d752d223ddc6eb68ef27b&quot;}]
-use_bzip2               yes
-distname                [join &quot;rust stage0 ${stage0(date)}
</del><ins>+                                &quot;0310b1a970f2da7e61770fd14dbbbdca3b518234&quot; :
+                                &quot;5f35d9c920b8083a7420ef8cf5b00d5ef3085dfa&quot;}]
+
+set stage0_name         [join &quot;rust stage0 ${stage0(date)}
</ins><span class="cx">                                            ${stage0(rev)}
</span><span class="cx">                                            ${stage0(platform)}
</span><del>-                                           ${stage0(hash)}&quot; -]
</del><ins>+                                           ${stage0(hash)}&quot; -].tar.bz2
+
+distfiles-append        ${stage0_name}:snap
+
</ins><span class="cx"> switch ${configure.build_arch} {
</span><del>-    i386    {checksums  rmd160  efb8b199ba0e2732845b7d6d3b7d723daec6a9b7 \
-                        sha256  078cdbd30ef041854b78bf4b8a2ce92b69cd3facd500c74dff3dd120f5f0052f}
-    default {checksums  rmd160  90e38262abd50ad4ba1bd168869b70d26b90deba \
-                        sha256  3997d9a947bb58c7463e44c810a71075db5f12a75cb4c29605e8813c85377c65}
</del><ins>+    i386    {checksums-append   ${stage0_name} \
+                            rmd160  15a0ffbcee0def1a056d69aa851edf2b8ca490b6 \
+                            sha256  0cc20c5f3c808d6332bcc192b60d6a1e9ee313d481030d8d07ff42a831492ba2}
+    default {checksums-append   ${stage0_name} \
+                            rmd160  a5ef6ad68e6e49b40d045e45227ad858b0935988 \
+                            sha256  38076751be5a52a61285cced36879832a7a106d7ce0bfd2b2080c3cfc42de1ce}
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> # Only use compilers supported by upstream
</span><span class="lines">@@ -92,11 +80,6 @@
</span><span class="cx">                     gcc-3.3 {*gcc-4.[0-6]} \
</span><span class="cx">                     macports-clang-2.9
</span><span class="cx"> 
</span><del>-post-patch {
-    # Stop build from treating compiler warnings as errors.
-    reinplace {s/ -Werror//g} mk/platform.mk
-}
-
</del><span class="cx"> # Building the bundled LLVM requires Python 2.4-2.7. All supported
</span><span class="cx"> # OS X releases have 2.6. (Using MacPorts' LLVM ports fails either
</span><span class="cx"> # during build or during testing.)
</span><span class="lines">@@ -150,12 +133,6 @@
</span><span class="cx"> 
</span><span class="cx"> destroot.args       VERBOSE=1
</span><span class="cx"> post-destroot {
</span><del>-    # Install vim files
-    foreach dir {after/syntax ftdetect indent syntax} {
-        xinstall -d ${destroot}${prefix}/share/vim/vimfiles/${dir}
-        xinstall -m 644 ${worksrcpath}/src/etc/vim/${dir}/rust.vim \
-            ${destroot}${prefix}/share/vim/vimfiles/${dir}
-    }
</del><span class="cx">     xinstall -d ${destroot}${prefix}/share/${name}
</span><span class="cx">     xinstall -m 644 ${worksrcpath}/src/etc/ctags.rust \
</span><span class="cx">         ${destroot}${prefix}/share/${name}
</span></span></pre>
</div>
</div>

</body>
</html>