<!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>[131700] trunk/dports/lang</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/131700">131700</a></dd>
<dt>Author</dt> <dd>jeremyhu@macports.org</dd>
<dt>Date</dt> <dd>2015-01-15 19:08:17 -0800 (Thu, 15 Jan 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>llvm: Obsolete llvm-2.9 through 3.0 and related ports</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangdragonegg30Portfile">trunk/dports/lang/dragonegg-3.0/Portfile</a></li>
<li><a href="#trunkdportslangdragonegg31Portfile">trunk/dports/lang/dragonegg-3.1/Portfile</a></li>
<li><a href="#trunkdportslangllvm29Portfile">trunk/dports/lang/llvm-2.9/Portfile</a></li>
<li><a href="#trunkdportslangllvm30Portfile">trunk/dports/lang/llvm-3.0/Portfile</a></li>
<li><a href="#trunkdportslangllvm31Portfile">trunk/dports/lang/llvm-3.1/Portfile</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>trunk/dports/lang/dragonegg-3.0/files/</li>
<li>trunk/dports/lang/dragonegg-3.1/files/</li>
<li>trunk/dports/lang/llvm-2.9/files/</li>
<li>trunk/dports/lang/llvm-3.0/files/</li>
<li>trunk/dports/lang/llvm-3.1/files/</li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangdragonegg30Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/dragonegg-3.0/Portfile (131699 => 131700)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/dragonegg-3.0/Portfile        2015-01-16 02:47:18 UTC (rev 131699)
+++ trunk/dports/lang/dragonegg-3.0/Portfile        2015-01-16 03:08:17 UTC (rev 131700)
</span><span class="lines">@@ -2,145 +2,25 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem              1.0
</span><del>-PortGroup select        1.0
</del><ins>+PortGroup               obsolete 1.0
</ins><span class="cx"> 
</span><ins>+set new_version         3.4
+
</ins><span class="cx"> set llvm_version        3.0
</span><del>-set llvm_version_no_dot 30
</del><ins>+version                 ${llvm_version}
+revision                9
+epoch                   1
</ins><span class="cx"> name                    dragonegg-${llvm_version}
</span><span class="cx"> 
</span><del>-subport                 ${name}-gcc-4.5 {
-    revision            6
-    set gcc_version     4.5
-    set gcc_version_no_dot 45
-}
-subport                 ${name}-gcc-4.6 {
-    revision            7
-    set gcc_version     4.6
-    set gcc_version_no_dot 46
-}
</del><ins>+subport                 ${name}-gcc-4.5 { set gcc_version 4.5 }
+subport                 ${name}-gcc-4.6 { set gcc_version 4.6 }
</ins><span class="cx"> 
</span><del>-dist_subdir             llvm
</del><span class="cx"> categories              lang
</span><span class="cx"> platforms               darwin
</span><del>-maintainers             jeremyhu openmaintainer
</del><span class="cx"> license                 GPL-2
</span><span class="cx"> 
</span><del>-description             DragonEgg is a LLVM plug-in for GCC
-long_description        DragonEgg replaces GCC optimizers and code generators \
-                        by the LLVM optimizing infrastructure. It supersedes \
-                        llvm-gcc.
-
-homepage                http://dragonegg.llvm.org/
-
</del><span class="cx"> if {${subport} eq ${name}} {
</span><del>-version                 ${llvm_version}
-epoch                   1
-revision                8
-
-distfiles
-
-set gcc_version         4.6
-
-depends_run             port:${name}-gcc-${gcc_version}
-
-use_configure           no
-build                   {}
-destroot {
-    # For base
-    foreach binary {gcc cpp c++ g++ gcj gcov gfortran} {
-        ln -s dragonegg-${llvm_version}-${binary}-mp-${gcc_version} ${destroot}${prefix}/bin/dragonegg-${llvm_version}-${binary}
-    }
-}
-
</del><ins>+    replaced_by dragonegg-${new_version}
</ins><span class="cx"> } else {
</span><del>-
-depends_lib             port:llvm-${llvm_version} port:gcc${gcc_version_no_dot}
-depends_run             port:gcc_select
-
-# gcc needs to match our arch, not the other way around
-# We build +universal just fine in order to support whatever arch gcc is
-depends_skip_archcheck-append gcc${gcc_version_no_dot}
-
-#fetch.type              svn
-#svn.revision            146339
-#version                 ${llvm_version}-r${svn.revision}
-#worksrcdir              trunk
-#svn.url                 http://llvm.org/svn/llvm-project/dragonegg/trunk
-
-version                 ${llvm_version}
-epoch                   1
-master_sites            http://llvm.org/releases/${version}/
-extract.suffix          .tar.gz
-distfiles               dragonegg-${version}${extract.suffix}
-worksrcdir              dragonegg-${version}.src
-checksums           sha1    9be8f055df814e56ea3585156da8c7e457f2cd7b \
-                    rmd160  93aa8a463b6b5e1fb9cc1ee0a7c4d310a78ea64f \
-                    sha256  72df1fd2e901b254ab8d1b5e7b93c7104751a613aca531f1483f9a637a5f6827
-
-platform darwin {
-    if {${os.major} &gt;= 13} {
-        depends_lib
-        depends_run
-        pre-fetch {
-            ui_error &quot;$name is not supported on Mavericks or later.&quot;
-            error &quot;unsupported platform&quot;
-        }
-    }
</del><ins>+    replaced_by dragonegg-${new_version}-gcc-${gcc_version}
</ins><span class="cx"> }
</span><del>-
-pre-fetch {
-    ui_msg &quot;Please remember to keep dragonegg and llvm in phase by updating llvm-${llvm_version} first.&quot;
-}
-
-use_configure no
-
-select.group    gcc
-select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
-
-build.target
-
-# g++-4.0 fails to build some of the newer C++ for ppc
-# Intel looks ok, but I prefer using gcc-4.2 for consistency
-compiler.blacklist gcc-4.0
-
-patchfiles revision.patch missing-includes.patch
-
-post-extract {
-    file copy ${filespath}/dragonegg-select ${select.file}
-    reinplace &quot;s:LLVM_VERSION:${llvm_version}:&quot; ${select.file}
-    reinplace &quot;s:GCC_VERSION:${gcc_version}:&quot; ${select.file}
-}
-
-variant universal {
-    post-patch {
-        reinplace &quot;/-MD -MP/d&quot; ${worksrcpath}/Makefile
-    }
-}
-
-set cxx_stdlibflags {}
-if {[string match *clang* ${configure.cxx}]} {
-    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
-}
-build.env-append \
-    LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_version} \
-    GCC=${prefix}/bin/gcc-mp-${gcc_version} \
-    CC=&quot;${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]&quot; \
-    CXX=&quot;${configure.cxx} ${configure.cppflags} ${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]&quot;
-
-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/libexec/dragonegg
-    xinstall -m 755 ${worksrcpath}/dragonegg.so ${destroot}${prefix}/libexec/dragonegg/llvm${llvm_version_no_dot}gcc${gcc_version_no_dot}.so
-
-    foreach binary {gcc cpp c++ g++ gcj gcov gfortran} {
-        set path ${destroot}${prefix}/bin/dragonegg-${llvm_version}-${binary}-mp-${gcc_version}
-        xinstall -m 755 ${filespath}/dragonegg-gcc ${path}
-        reinplace &quot;s:PLUGIN:${prefix}/libexec/dragonegg/llvm${llvm_version_no_dot}gcc${gcc_version_no_dot}.so:&quot; ${path}
-        reinplace &quot;s:PREFIX:${prefix}:&quot; ${path}
-        reinplace &quot;s:GCC_VERSION:${gcc_version}:&quot; ${path}
-        reinplace &quot;s:BINARY:${binary}:&quot; ${path}
-    }
-}
-
-}
-
-livecheck.type          none
</del></span></pre></div>
<a id="trunkdportslangdragonegg31Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/dragonegg-3.1/Portfile (131699 => 131700)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/dragonegg-3.1/Portfile        2015-01-16 02:47:18 UTC (rev 131699)
+++ trunk/dports/lang/dragonegg-3.1/Portfile        2015-01-16 03:08:17 UTC (rev 131700)
</span><span class="lines">@@ -2,151 +2,26 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem              1.0
</span><del>-PortGroup select        1.0
</del><ins>+PortGroup               obsolete 1.0
</ins><span class="cx"> 
</span><ins>+set new_version         3.4
+
</ins><span class="cx"> set llvm_version        3.1
</span><del>-set llvm_version_no_dot 31
</del><ins>+version                 ${llvm_version}
+revision                9
+epoch                   1
</ins><span class="cx"> name                    dragonegg-${llvm_version}
</span><span class="cx"> 
</span><del>-subport                 ${name}-gcc-4.5 {
-    revision            6
-    set gcc_version     4.5
-    set gcc_version_no_dot 45
-}
-subport                 ${name}-gcc-4.6 {
-    revision            7
-    set gcc_version     4.6
-    set gcc_version_no_dot 46
-}
-subport                 ${name}-gcc-4.7 {
-    revision            8
-    set gcc_version     4.7
-    set gcc_version_no_dot 47
-}
</del><ins>+subport                 ${name}-gcc-4.5 { set gcc_version 4.5 }
+subport                 ${name}-gcc-4.6 { set gcc_version 4.6 }
+subport                 ${name}-gcc-4.7 { set gcc_version 4.7 }
</ins><span class="cx"> 
</span><del>-dist_subdir             llvm
</del><span class="cx"> categories              lang
</span><span class="cx"> platforms               darwin
</span><del>-maintainers             jeremyhu openmaintainer
</del><span class="cx"> license                 GPL-2
</span><span class="cx"> 
</span><del>-description             DragonEgg is a LLVM plug-in for GCC
-long_description        DragonEgg replaces GCC optimizers and code generators \
-                        by the LLVM optimizing infrastructure. It supersedes \
-                        llvm-gcc.
-
-homepage                http://dragonegg.llvm.org/
-
</del><span class="cx"> if {${subport} eq ${name}} {
</span><del>-version                 ${llvm_version}
-epoch                   1
-revision                5
-
-distfiles
-
-set gcc_version         4.6
-
-depends_run             port:${name}-gcc-${gcc_version}
-
-use_configure           no
-build                   {}
-destroot {
-    # For base
-    foreach binary {gcc cpp c++ g++ gcj gcov gfortran} {
-        ln -s dragonegg-${llvm_version}-${binary}-mp-${gcc_version} ${destroot}${prefix}/bin/dragonegg-${llvm_version}-${binary}
-    }
-}
-
</del><ins>+    replaced_by dragonegg-${new_version}
</ins><span class="cx"> } else {
</span><del>-
-depends_lib             port:llvm-${llvm_version} port:gcc${gcc_version_no_dot}
-depends_run             port:gcc_select
-
-# gcc needs to match our arch, not the other way around
-# We build +universal just fine in order to support whatever arch gcc is
-depends_skip_archcheck-append gcc${gcc_version_no_dot}
-
-#fetch.type              svn
-#svn.revision            155781
-#version                 ${llvm_version}-r${svn.revision}
-#worksrcdir              trunk
-#svn.url                 http://llvm.org/svn/llvm-project/dragonegg/trunk
-#worksrcdir              release_31
-#svn.url                 http://llvm.org/svn/llvm-project/dragonegg/branches/release_31
-
-version                 ${llvm_version}
-epoch                   1
-master_sites            http://llvm.org/releases/${version}/
-extract.suffix          .tar.gz
-distname                dragonegg-${version}.src
-checksums           sha1    98e865f16c76bddb3f6969c733042677e306d63c \
-                    rmd160  303e98f4d33f87fe018505a03ae1265d3c5a080c \
-                    sha256  a11d1379fab772bc4a747e6f5c6a27acf5fe03f27b5a152af67f63d5fbc4a876
-
-platform darwin {
-    if {${os.major} &gt;= 13} {
-        depends_lib
-        depends_run
-        pre-fetch {
-            ui_error &quot;$name is not supported on Mavericks or later.&quot;
-            error &quot;unsupported platform&quot;
-        }
-    }
</del><ins>+    replaced_by dragonegg-${new_version}-gcc-${gcc_version}
</ins><span class="cx"> }
</span><del>-
-pre-fetch {
-    ui_msg &quot;Please remember to keep dragonegg and llvm in phase by updating llvm-${llvm_version} first.&quot;
-}
-
-use_configure no
-
-select.group    gcc
-select.file     ${worksrcpath}/dragonegg-${llvm_version}-gcc${gcc_version_no_dot}
-
-build.target
-
-# g++-4.0 fails to build some of the newer C++ for ppc
-# Intel looks ok, but I prefer using gcc-4.2 for consistency
-compiler.blacklist gcc-4.0
-
-patchfiles missing-includes.patch cstring.patch
-
-post-extract {
-    file copy ${filespath}/dragonegg-select ${select.file}
-    reinplace &quot;s:LLVM_VERSION:${llvm_version}:&quot; ${select.file}
-    reinplace &quot;s:GCC_VERSION:${gcc_version}:&quot; ${select.file}
-}
-
-variant universal {
-    post-patch {
-        reinplace &quot;/-MD -MP/d&quot; ${worksrcpath}/Makefile
-    }
-}
-
-set cxx_stdlibflags {}
-if {[string match *clang* ${configure.cxx}]} {
-    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
-}
-build.env-append \
-    LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_version} \
-    GCC=${prefix}/bin/gcc-mp-${gcc_version} \
-    CC=&quot;${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]&quot; \
-    CXX=&quot;${configure.cxx} ${configure.cppflags} ${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]&quot;
-
-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/libexec/dragonegg
-    xinstall -m 755 ${worksrcpath}/dragonegg.so ${destroot}${prefix}/libexec/dragonegg/llvm${llvm_version_no_dot}gcc${gcc_version_no_dot}.so
-
-    foreach binary {gcc cpp c++ g++ gcj gcov gfortran} {
-        set path ${destroot}${prefix}/bin/dragonegg-${llvm_version}-${binary}-mp-${gcc_version}
-        xinstall -m 755 ${filespath}/dragonegg-gcc ${path}
-        reinplace &quot;s:PLUGIN:${prefix}/libexec/dragonegg/llvm${llvm_version_no_dot}gcc${gcc_version_no_dot}.so:&quot; ${path}
-        reinplace &quot;s:PREFIX:${prefix}:&quot; ${path}
-        reinplace &quot;s:GCC_VERSION:${gcc_version}:&quot; ${path}
-        reinplace &quot;s:BINARY:${binary}:&quot; ${path}
-    }
-}
-
-}
-
-livecheck.type          none
</del></span></pre></div>
<a id="trunkdportslangllvm29Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/llvm-2.9/Portfile (131699 => 131700)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-2.9/Portfile        2015-01-16 02:47:18 UTC (rev 131699)
+++ trunk/dports/lang/llvm-2.9/Portfile        2015-01-16 03:08:17 UTC (rev 131700)
</span><span class="lines">@@ -1,343 +1,22 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem              1.0
</span><del>-PortGroup select        1.0
</del><ins>+PortGroup               obsolete 1.0
</ins><span class="cx"> 
</span><ins>+set new_version         3.4
+
</ins><span class="cx"> set llvm_version        2.9
</span><del>-revision                14
</del><ins>+version                 ${llvm_version}
+revision                15
+epoch                   1
</ins><span class="cx"> name                    llvm-${llvm_version}
</span><span class="cx"> subport                 clang-${llvm_version} {}
</span><del>-set suffix              mp-${llvm_version}
-set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
-dist_subdir             llvm
</del><span class="cx"> categories              lang
</span><span class="cx"> platforms               darwin
</span><span class="cx"> license                 NCSA
</span><del>-maintainers             jeremyhu larryv
</del><span class="cx"> 
</span><del>-platform darwin {
-    if {${os.major} &gt;= 13} {
-        depends_lib
-        depends_run
-        pre-fetch {
-            ui_error &quot;$name is not supported on Mavericks or later.&quot;
-            error &quot;unsupported platform&quot;
-        }
-    }
-}
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    homepage            http://llvm.org/
-    description         llvm is a next generation compiler infrastructure
-    long_description    The LLVM Core libraries provide a modern source- and \
-                        target-independent optimizer, along with code \
-                        generation support for many popular CPUs (as well as \
-                        some less common ones!) These libraries are built \
-                        around a well specified code representation known as \
-                        the LLVM intermediate representation (&quot;LLVM IR&quot;).
-
-    depends_lib         port:libffi
-    depends_run         bin:perl:perl5 port:llvm_select
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    homepage            http://clang.llvm.org/
-    description         C, C++, Objective C and Objective C++ compiler
-    long_description    Clang is an &quot;LLVM native&quot; C/C++/Objective-C compiler, \
-                        which aims to deliver amazingly fast compiles (e.g. \
-                        about 3x faster than GCC when compiling Objective-C \
-                        code in a debug configuration), extremely useful error \
-                        and warning messages and to provide a platform for \
-                        building great source level tools. The included Clang \
-                        Static Analyzer is a tool that automatically finds bugs in \
-                        your code, and is a great example of the sort of tool \
-                        that can be built using the Clang frontend as a \
-                        library to parse C/C++ code.
-
-    depends_lib         port:llvm-${llvm_version} port:libffi
-    depends_run         port:clang_select port:ld64
-    depends_extract     bin:svn:subversion
-    depends_build       port:cctools
-    depends_skip_archcheck-append cctools ld64 subversion
-
-    default_variants    +analyzer
-}
-
-#fetch.type              svn
-#svn.revision            163481
-#set compiler_rt_rev     ${svn.revision}
-#set libcxx_rev          ${svn.revision}
-#version                 ${llvm_version}-r${svn.revision}
-#worksrcdir              trunk
-#svn.url                 http://llvm.org/svn/llvm-project/llvm/trunk
-#worksrcdir              release_31
-#svn.url                 http://llvm.org/svn/llvm-project/llvm/branches/release_31
-#default_variants-append +assertions
-
-version                 ${llvm_version}
-set compiler_rt_rev     128674
-set libcxx_rev          ${compiler_rt_rev}
-epoch                   1
-master_sites            http://llvm.org/releases/${version}
-extract.suffix          .tgz
-distfiles               llvm-${version}${extract.suffix}
-worksrcdir              llvm-${version}
-
-checksums               llvm-${version}${extract.suffix} \
-                        sha1    500f587f840199ac53c4fc7572839d08fa9d9123 \
-                        rmd160  caeaa067fda1eb34196b356a087645f83731cfb7 \
-                        sha256  661236cfa17428b48cfa9cbb9909f7569c64b8ecd219fd91dbc00e3b557b3779 \
-                        clang-${version}${extract.suffix} \
-                        sha1    5fd3b5cec050ec12858c1602b23cf096282ad4a4 \
-                        rmd160  4ab79cbd0e2ad25a2272e6ee2fbbf546818dbd73 \
-                        sha256  70c41f3f782a71cbaa7bc8d6ea29fce4263ad3e8558dfecc6dc11cdef17909df
-
-patchfiles      install_target.patch \
-                0001-Add-a-few-missing-template-keywords.patch \
-                tiger-shlib.patch \
-                0003-Include-pthread.h-before-we-use-pthread_self-pthread.patch
-
-patch.pre_args  -p1
-
</del><span class="cx"> if {${subport} == &quot;clang-${llvm_version}&quot;} {
</span><del>-    if {${distfiles} != &quot;&quot;} {
-        distfiles-append     clang-${version}${extract.suffix}
-    }
-
-    patchfiles-append   tiger-shlib-clang.patch \
-                        scan-build-PR-35006.patch \
-                        0002-include-clang-AST-StmtIterator.h-std-pair-should-be-.patch
-
-    build.target        clang-only
-    destroot.target     install-clang
</del><ins>+    replaced_by clang-${new_version}
+} else {
+    replaced_by llvm-${new_version}
</ins><span class="cx"> }
</span><del>-
-build.env-append        VERBOSE=1 \
-                        REQUIRES_RTTI=1
-destroot.env-append     VERBOSE=1 \
-                        REQUIRES_RTTI=1
-configure.cppflags
-configure.ldflags
-configure.pre_args-delete --prefix=${prefix}
-configure.args          --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
-                        --enable-optimized --disable-profiling --enable-pic \
-                        --enable-debug-symbols --disable-debug-runtime \
-                        --prefix=&quot;${sub_prefix}&quot;
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    select.group        llvm
-    select.file         ${filespath}/mp-${subport}
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    select.group        clang
-    select.file         ${filespath}/mp-${subport}
-}
-
-# g++-4.0 fails to build some of the newer C++ for ppc
-# Intel looks ok, but I prefer using gcc-4.2 for consistency
-compiler.blacklist gcc-4.0
-
-variant universal {
-    build.env-append \
-        UNIVERSAL=1 \
-        UNIVERSAL_ARCH=&quot;[get_canonical_archs]&quot;
-    destroot.env-append \
-        UNIVERSAL=1 \
-        UNIVERSAL_ARCH=&quot;[get_canonical_archs]&quot;
-
-    post-extract {
-        # workaround a bug in Apple's shipped gcc driver-driver, patched in
-        # ours with driverdriver-num_infiles.patch
-        if {${configure.compiler} == &quot;gcc-4.0&quot; ||
-            ${configure.compiler} == &quot;gcc-4.2&quot; ||
-            ${configure.compiler} == &quot;llvm-gcc-4.2&quot;} {
-            system &quot;echo \&quot;static int ___ignoreme;\&quot; &gt; ${worksrcpath}/tools/llvm-shlib/ignore.c&quot;
-        }
-    }
-}
-
-variant assertions description &quot;Enable assertions for error detection (has performance impacts, especially on JIT)&quot; {
-    configure.args-append --enable-assertions
-}
-
-platform darwin {
-    if {${build_arch} eq &quot;i386&quot;} {
-        configure.pre_args-append --build=i686-apple-darwin${os.major}
-    } elseif {${build_arch} eq &quot;ppc&quot;} {
-        configure.pre_args-append --build=powerpc-apple-darwin${os.major}
-    } elseif {${build_arch} eq &quot;ppc64&quot;} {
-        configure.pre_args-append --build=powerpc64-apple-darwin${os.major}
-    } else {
-        configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
-    }
-
-    if {[string match &quot;*ppc*&quot; [get_canonical_archs]]} {
-        # http://trac.macports.org/ticket/33987
-        configure.args-append --with-optimize-option=-Os
-    }
-}
-
-platform darwin 8 {
-    # Tiger's DevTools make has issues with the nested ifs in compiler-rt
-    depends_run-append      port:gmake
-    build.cmd               ${prefix}/bin/gmake
-
-    post-configure {
-        reinplace &quot;/^RPATH/s/=.*/=/&quot; ${worksrcpath}/Makefile.config
-    }
-}
-
-post-extract {
-    if {${subport} == &quot;clang-${llvm_version}&quot;} {
-        #system &quot;cd ${worksrcpath}/tools &amp;&amp; svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/trunk clang&quot;
-        #system &quot;cd ${worksrcpath}/tools &amp;&amp; svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/branches/release_30 clang&quot;
-        file rename ${workpath}/clang-${llvm_version} ${worksrcpath}/tools/clang
-
-        system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt&quot;
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/branches/release_30 compiler-rt&quot;
-        #file rename ${workpath}/compiler-rt-${llvm_version} ${worksrcpath}/projects/compiler-rt
-
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/trunk libcxx&quot;
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/branches/release_30 libcxx&quot;
-        #file rename ${workpath}/libcxx-${llvm_version} ${worksrcpath}/projects/libcxx
-    }
-}
-
-post-patch {
-    if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-        # http://trac.macports.org/ticket/33207
-        reinplace &quot;/LLVMINTERP/s/-lli/-lli-${suffix}/&quot; ${worksrcpath}/tools/llvm-ld/llvm-ld.cpp
-    } elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-        # http://trac.macports.org/ticket/33272
-        if {![variant_isset arm_runtime]} {
-            reinplace {/^RuntimeLibrary.darwin.Configs/ s/arm[^ ]* *//g} ${worksrcpath}/tools/clang/runtime/Makefile
-            reinplace {/^SubDirs/ s/arm//} ${worksrcpath}/projects/compiler-rt/lib/Makefile.mk
-            reinplace {/^UniversalArchs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
-            reinplace {/^Configs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
-        }

-        reinplace {s/VERBOSE := 0/VERBOSE := 1/} ${worksrcpath}/projects/compiler-rt/make/config.mk
-    }
-}
-
-post-destroot {
-    file mkdir ${destroot}${prefix}/share/doc
-    file rename ${destroot}${sub_prefix}/docs/llvm ${destroot}${prefix}/share/doc/${subport}
-
-    foreach bin [glob ${destroot}${sub_prefix}/bin/*] {
-        set bin_filename [string map &quot;${sub_prefix} ${prefix}&quot; ${bin}]-${suffix}
-        set exec_path [string map &quot;${destroot}${sub_prefix} ${sub_prefix}&quot; ${bin}]
-
-        xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${bin_filename}&quot;
-        reinplace &quot;s:EXEC_PATH:${exec_path}:&quot; &quot;${bin_filename}&quot;
-    }
-
-    if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-        foreach man [glob ${destroot}${sub_prefix}/share/man/man1/*.1] {
-            set basename [string map &quot;${destroot}${sub_prefix}/share/man/man1/ {}&quot; ${man}]
-            file rename ${man} ${destroot}${prefix}/share/man/man1/[string map &quot;.1 -${suffix}.1&quot; ${basename}]
-        }
-
-        foreach liba [glob ${destroot}${sub_prefix}/lib/*dylib] {
-            set liba_nodr [string map &quot;${destroot} {}&quot; ${liba}]
-            system &quot;install_name_tool -id ${liba_nodr} ${liba}&quot;
-
-            foreach libb [glob ${destroot}${sub_prefix}/lib/*dylib] {
-                set libb_base [string map &quot;${destroot}${sub_prefix}/lib/ {}&quot; ${libb}]
-                set libb_nodr [string map &quot;${destroot} {}&quot; ${libb}]
-
-                system &quot;install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}&quot;
-            }
-        }
-    } elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-        #system &quot;ditto ${worksrcpath}/projects/libcxx/include ${destroot}${sub_prefix}/lib/c++/v1&quot;
-
-        # http://trac.macports.org/ticket/33207
-        ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
-
-        system &quot;install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-        system &quot;install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-        system &quot;install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-    }
-}
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    variant ocaml description {Enable generation of OCaml binding} {
-        depends_lib-append   port:ocaml
-
-        configure.args-delete --enable-bindings=none
-        configure.args-append --enable-bindings=ocaml
-
-        destroot.args-append  OVERRIDE_libdir=${sub_prefix}/lib
-    }
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    variant arm_runtime description {Build and install the arm runtime for iOS development (requires iOS SDK)} {}
-
-    # The iOS SDK was shipped with all Xcode releases after 4.0
-    if {[info exists xcodeversion] &amp;&amp; [vercmp &quot;4.0&quot; ${xcodeversion}] &lt;= 0} {
-       default_variants-append +arm_runtime
-    }
-
-    set pythonver &quot;&quot;
-    set pythonverdot &quot;&quot;
-
-    if {![variant_isset python25] &amp;&amp; ![variant_isset python26]} {
-        default_variants-append +python27
-    }
-
-    variant python25 conflicts python26 python27 description {Use python 2.5} {
-        set pythonver 25
-        set pythonverdot 2.5
-        depends_build-append port:python25
-    }
-
-    variant python26 conflicts python25 python27 description {Use python 2.6} {
-        set pythonver 26
-        set pythonverdot 2.6
-        depends_build-append port:python26
-    }
-
-    variant python27 conflicts python25 python26 description {Use python 2.7} {
-        set pythonver 27
-        set pythonverdot 2.7
-        depends_build-append port:python27
-    }
-
-    variant analyzer description {Install clang static analyzer} {
-        if {[string equal &quot;${pythonver}&quot; &quot;&quot;]} {
-            ui_error &quot;You must select a python variant to use the clang static analyzer (+analyzer)&quot;
-            error &quot;Invalid variant combination&quot;
-        }
-
-        depends_run-append port:perl5 port:python${pythonver}
-
-        post-patch {
-            reinplace &quot;s|/usr/bin/env perl|${prefix}/bin/perl5|g&quot; \
-                ${worksrcpath}/tools/clang/tools/scan-build/ccc-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-build/c++-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-build/scan-build
-            reinplace &quot;s|/usr/bin/env python|${prefix}/bin/python${pythonverdot}|g&quot; \
-                ${worksrcpath}/tools/clang/tools/scan-build/set-xcode-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-view/scan-view
-        }
-
-        post-destroot {
-            file mkdir ${destroot}${sub_prefix}/libexec
-            file copy ${worksrcpath}/tools/clang/tools/scan-build ${destroot}${sub_prefix}/libexec/scan-build
-            file copy ${worksrcpath}/tools/clang/tools/scan-view ${destroot}${sub_prefix}/libexec/scan-view
-
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-build/.svn
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-view/.svn
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-view/Resources/.svn
-
-            ln -s ${sub_prefix}/libexec/scan-build/scan-build ${destroot}${sub_prefix}/bin/scan-build
-            ln -s ${sub_prefix}/libexec/scan-view/scan-view ${destroot}${sub_prefix}/bin/scan-view
-            ln -s ${sub_prefix}/bin ${destroot}${sub_prefix}/libexec/scan-build/bin
-
-            xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${destroot}${prefix}/bin/scan-build-${suffix}&quot;
-            reinplace &quot;s:EXEC_PATH:${sub_prefix}/bin/scan-build:&quot; &quot;${destroot}${prefix}/bin/scan-build-${suffix}&quot;
-
-            xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${destroot}${prefix}/bin/scan-view-${suffix}&quot;
-            reinplace &quot;s:EXEC_PATH:${sub_prefix}/bin/scan-view:&quot; &quot;${destroot}${prefix}/bin/scan-view-${suffix}&quot;
-        }
-    }
-}
-
-livecheck.type          none
</del></span></pre></div>
<a id="trunkdportslangllvm30Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/llvm-3.0/Portfile (131699 => 131700)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.0/Portfile        2015-01-16 02:47:18 UTC (rev 131699)
+++ trunk/dports/lang/llvm-3.0/Portfile        2015-01-16 03:08:17 UTC (rev 131700)
</span><span class="lines">@@ -1,340 +1,22 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem              1.0
</span><del>-PortGroup select        1.0
</del><ins>+PortGroup               obsolete 1.0
</ins><span class="cx"> 
</span><del>-set llvm_version        3.0
-revision                13
</del><ins>+set new_version         3.4
+
+set llvm_version        2.9
+version                 ${llvm_version}
+revision                14
+epoch                   1
</ins><span class="cx"> name                    llvm-${llvm_version}
</span><span class="cx"> subport                 clang-${llvm_version} {}
</span><del>-set suffix              mp-${llvm_version}
-set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
-dist_subdir             llvm
</del><span class="cx"> categories              lang
</span><span class="cx"> platforms               darwin
</span><span class="cx"> license                 NCSA
</span><del>-maintainers             jeremyhu larryv
</del><span class="cx"> 
</span><del>-platform darwin {
-    if {${os.major} &gt;= 13} {
-        depends_lib
-        depends_run
-        pre-fetch {
-            ui_error &quot;$name is not supported on Mavericks or later.&quot;
-            error &quot;unsupported platform&quot;
-        }
-    }
-}
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    homepage            http://llvm.org/
-    description         llvm is a next generation compiler infrastructure
-    long_description    The LLVM Core libraries provide a modern source- and \
-                        target-independent optimizer, along with code \
-                        generation support for many popular CPUs (as well as \
-                        some less common ones!) These libraries are built \
-                        around a well specified code representation known as \
-                        the LLVM intermediate representation (&quot;LLVM IR&quot;).
-
-    depends_lib         port:libffi
-    depends_run         bin:perl:perl5 port:llvm_select
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    homepage            http://clang.llvm.org/
-    description         C, C++, Objective C and Objective C++ compiler
-    long_description    Clang is an &quot;LLVM native&quot; C/C++/Objective-C compiler, \
-                        which aims to deliver amazingly fast compiles (e.g. \
-                        about 3x faster than GCC when compiling Objective-C \
-                        code in a debug configuration), extremely useful error \
-                        and warning messages and to provide a platform for \
-                        building great source level tools. The included Clang \
-                        Static Analyzer is a tool that automatically finds bugs in \
-                        your code, and is a great example of the sort of tool \
-                        that can be built using the Clang frontend as a \
-                        library to parse C/C++ code.
-
-    depends_lib         port:llvm-${llvm_version} port:libffi
-    depends_run         port:clang_select port:ld64
-    depends_extract     bin:svn:subversion
-    depends_build       port:cctools
-    depends_skip_archcheck-append cctools ld64 subversion
-
-    default_variants    +analyzer
-}
-
-#fetch.type              svn
-#svn.revision            163481
-#set compiler_rt_rev     ${svn.revision}
-#set libcxx_rev          ${svn.revision}
-#version                 ${llvm_version}-r${svn.revision}
-#worksrcdir              trunk
-#svn.url                 http://llvm.org/svn/llvm-project/llvm/trunk
-#worksrcdir              release_31
-#svn.url                 http://llvm.org/svn/llvm-project/llvm/branches/release_31
-#default_variants-append +assertions
-
-version                 ${llvm_version}
-set compiler_rt_rev     142041
-set libcxx_rev          ${compiler_rt_rev}
-epoch                   1
-master_sites            http://llvm.org/releases/${version}
-extract.suffix          .tar.gz
-distfiles               llvm-${version}${extract.suffix}
-worksrcdir              llvm-${version}.src
-
-checksums               llvm-${version}${extract.suffix} \
-                        sha1    b683e7294fcf69887c0d709025d4640f5dca755b \
-                        rmd160  85211cafbed1c5d838ac54669017b5298613f975 \
-                        sha256  519eb11d3499ce99c6ffdb8718651fc91425ed7690eac91c8d6853474f7c0477 \
-                        clang-${version}${extract.suffix} \
-                        sha1    1fa11f07f957bd9c9de003d1b5a7a9ba1e0055e4 \
-                        rmd160  640b309116db4357627c0b81ebba5dab824d9eeb \
-                        sha256  b64e72da356d7c3428cfd7ac620d49ec042c84eaee13c26024879f555f4e126d
-
-patchfiles      install_target.patch \
-                0001-Add-a-few-missing-template-keywords.patch \
-                tiger-shlib.patch
-
-patch.pre_args  -p1
-
</del><span class="cx"> if {${subport} == &quot;clang-${llvm_version}&quot;} {
</span><del>-    if {${distfiles} != &quot;&quot;} {
-        distfiles-append     clang-${version}${extract.suffix}
-    }
-
-    patchfiles-append    tiger-shlib-clang.patch scan-build-PR-35006.patch \
-                         remove-chown-libcxx.patch \
-                         snowleopard-cmath.patch
-
-    build.target        clang-only
-    destroot.target     install-clang
</del><ins>+    replaced_by clang-${new_version}
+} else {
+    replaced_by llvm-${new_version}
</ins><span class="cx"> }
</span><del>-
-build.env-append        VERBOSE=1 \
-                        REQUIRES_RTTI=1
-destroot.env-append     VERBOSE=1 \
-                        REQUIRES_RTTI=1
-configure.cppflags
-configure.ldflags
-configure.pre_args-delete --prefix=${prefix}
-configure.args          --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
-                        --enable-optimized --disable-profiling --enable-pic \
-                        --enable-debug-symbols --disable-debug-runtime \
-                        --prefix=&quot;${sub_prefix}&quot;
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    select.group        llvm
-    select.file         ${filespath}/mp-${subport}
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    select.group        clang
-    select.file         ${filespath}/mp-${subport}
-}
-
-# g++-4.0 fails to build some of the newer C++ for ppc
-# Intel looks ok, but I prefer using gcc-4.2 for consistency
-compiler.blacklist gcc-4.0
-
-variant universal {
-    build.env-append \
-        UNIVERSAL=1 \
-        UNIVERSAL_ARCH=&quot;[get_canonical_archs]&quot;
-    destroot.env-append \
-        UNIVERSAL=1 \
-        UNIVERSAL_ARCH=&quot;[get_canonical_archs]&quot;
-
-    post-extract {
-        # workaround a bug in Apple's shipped gcc driver-driver, patched in
-        # ours with driverdriver-num_infiles.patch
-        if {${configure.compiler} == &quot;gcc-4.0&quot; ||
-            ${configure.compiler} == &quot;gcc-4.2&quot; ||
-            ${configure.compiler} == &quot;llvm-gcc-4.2&quot;} {
-            system &quot;echo \&quot;static int ___ignoreme;\&quot; &gt; ${worksrcpath}/tools/llvm-shlib/ignore.c&quot;
-        }
-    }
-}
-
-variant assertions description &quot;Enable assertions for error detection (has performance impacts, especially on JIT)&quot; {
-    configure.args-append --enable-assertions
-}
-
-platform darwin {
-    if {${build_arch} eq &quot;i386&quot;} {
-        configure.pre_args-append --build=i686-apple-darwin${os.major}
-    } elseif {${build_arch} eq &quot;ppc&quot;} {
-        configure.pre_args-append --build=powerpc-apple-darwin${os.major}
-    } elseif {${build_arch} eq &quot;ppc64&quot;} {
-        configure.pre_args-append --build=powerpc64-apple-darwin${os.major}
-    } else {
-        configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
-    }
-
-    if {[string match &quot;*ppc*&quot; [get_canonical_archs]]} {
-        # http://trac.macports.org/ticket/33987
-        configure.args-append --with-optimize-option=-Os
-    }
-}
-
-platform darwin 8 {
-    # Tiger's DevTools make has issues with the nested ifs in compiler-rt
-    depends_run-append      port:gmake
-    build.cmd               ${prefix}/bin/gmake
-
-    post-configure {
-        reinplace &quot;/^RPATH/s/=.*/=/&quot; ${worksrcpath}/Makefile.config
-    }
-}
-
-post-extract {
-    if {${subport} == &quot;clang-${llvm_version}&quot;} {
-        #system &quot;cd ${worksrcpath}/tools &amp;&amp; svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/trunk clang&quot;
-        #system &quot;cd ${worksrcpath}/tools &amp;&amp; svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/branches/release_30 clang&quot;
-        file rename ${workpath}/clang-${llvm_version}.src ${worksrcpath}/tools/clang
-
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt&quot;
-        system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/branches/release_30 compiler-rt&quot;
-        #file rename ${workpath}/compiler-rt-${llvm_version}.src ${worksrcpath}/projects/compiler-rt
-
-        system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/trunk libcxx&quot;
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/branches/release_30 libcxx&quot;
-        #file rename ${workpath}/libcxx-${llvm_version}.src ${worksrcpath}/projects/libcxx
-    }
-}
-
-post-patch {
-    if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-        # http://trac.macports.org/ticket/33207
-        reinplace &quot;/LLVMINTERP/s/-lli/-lli-${suffix}/&quot; ${worksrcpath}/tools/llvm-ld/llvm-ld.cpp
-    } elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-        # http://trac.macports.org/ticket/33272
-        if {![variant_isset arm_runtime]} {
-            reinplace {/^SubDirs/ s/arm//} ${worksrcpath}/projects/compiler-rt/lib/Makefile.mk
-            reinplace {/^UniversalArchs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
-        }

-        reinplace {s/VERBOSE := 0/VERBOSE := 1/} ${worksrcpath}/projects/compiler-rt/make/config.mk
-    }
-}
-
-post-destroot {
-    file mkdir ${destroot}${prefix}/share/doc
-    file rename ${destroot}${sub_prefix}/docs/llvm ${destroot}${prefix}/share/doc/${subport}
-
-    foreach bin [glob ${destroot}${sub_prefix}/bin/*] {
-        set bin_filename [string map &quot;${sub_prefix} ${prefix}&quot; ${bin}]-${suffix}
-        set exec_path [string map &quot;${destroot}${sub_prefix} ${sub_prefix}&quot; ${bin}]
-
-        xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${bin_filename}&quot;
-        reinplace &quot;s:EXEC_PATH:${exec_path}:&quot; &quot;${bin_filename}&quot;
-    }
-
-    if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-        foreach man [glob ${destroot}${sub_prefix}/share/man/man1/*.1] {
-            set basename [string map &quot;${destroot}${sub_prefix}/share/man/man1/ {}&quot; ${man}]
-            file rename ${man} ${destroot}${prefix}/share/man/man1/[string map &quot;.1 -${suffix}.1&quot; ${basename}]
-        }
-
-        foreach liba [glob ${destroot}${sub_prefix}/lib/*dylib] {
-            set liba_nodr [string map &quot;${destroot} {}&quot; ${liba}]
-            system &quot;install_name_tool -id ${liba_nodr} ${liba}&quot;
-
-            foreach libb [glob ${destroot}${sub_prefix}/lib/*dylib] {
-                set libb_base [string map &quot;${destroot}${sub_prefix}/lib/ {}&quot; ${libb}]
-                set libb_nodr [string map &quot;${destroot} {}&quot; ${libb}]
-
-                system &quot;install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}&quot;
-            }
-        }
-    } elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-        system &quot;ditto ${worksrcpath}/projects/libcxx/include ${destroot}${sub_prefix}/lib/c++/v1&quot;
-
-        # http://trac.macports.org/ticket/33207
-        ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
-
-        system &quot;install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-        system &quot;install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-        system &quot;install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-    }
-}
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    variant ocaml description {Enable generation of OCaml binding} {
-        depends_lib-append   port:ocaml
-
-        configure.args-delete --enable-bindings=none
-        configure.args-append --enable-bindings=ocaml
-
-        destroot.args-append  OVERRIDE_libdir=${sub_prefix}/lib
-    }
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    variant arm_runtime description {Build and install the arm runtime for iOS development (requires iOS SDK)} {}
-
-    # The iOS SDK was shipped with all Xcode releases after 4.0
-    if {[info exists xcodeversion] &amp;&amp; [vercmp &quot;4.0&quot; ${xcodeversion}] &lt;= 0} {
-       default_variants-append +arm_runtime
-    }
-
-    set pythonver &quot;&quot;
-    set pythonverdot &quot;&quot;
-
-    if {![variant_isset python25] &amp;&amp; ![variant_isset python26]} {
-        default_variants-append +python27
-    }
-
-    variant python25 conflicts python26 python27 description {Use python 2.5} {
-        set pythonver 25
-        set pythonverdot 2.5
-        depends_build-append port:python25
-    }
-
-    variant python26 conflicts python25 python27 description {Use python 2.6} {
-        set pythonver 26
-        set pythonverdot 2.6
-        depends_build-append port:python26
-    }
-
-    variant python27 conflicts python25 python26 description {Use python 2.7} {
-        set pythonver 27
-        set pythonverdot 2.7
-        depends_build-append port:python27
-    }
-
-    variant analyzer description {Install clang static analyzer} {
-        if {[string equal &quot;${pythonver}&quot; &quot;&quot;]} {
-            ui_error &quot;You must select a python variant to use the clang static analyzer (+analyzer)&quot;
-            error &quot;Invalid variant combination&quot;
-        }
-
-        depends_run-append port:perl5 port:python${pythonver}
-
-        post-patch {
-            reinplace &quot;s|/usr/bin/env perl|${prefix}/bin/perl5|g&quot; \
-                ${worksrcpath}/tools/clang/tools/scan-build/ccc-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-build/c++-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-build/scan-build
-            reinplace &quot;s|/usr/bin/env python|${prefix}/bin/python${pythonverdot}|g&quot; \
-                ${worksrcpath}/tools/clang/tools/scan-build/set-xcode-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-view/scan-view
-        }
-
-        post-destroot {
-            file mkdir ${destroot}${sub_prefix}/libexec
-            file copy ${worksrcpath}/tools/clang/tools/scan-build ${destroot}${sub_prefix}/libexec/scan-build
-            file copy ${worksrcpath}/tools/clang/tools/scan-view ${destroot}${sub_prefix}/libexec/scan-view
-
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-build/.svn
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-view/.svn
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-view/Resources/.svn
-
-            ln -s ${sub_prefix}/libexec/scan-build/scan-build ${destroot}${sub_prefix}/bin/scan-build
-            ln -s ${sub_prefix}/libexec/scan-view/scan-view ${destroot}${sub_prefix}/bin/scan-view
-            ln -s ${sub_prefix}/bin ${destroot}${sub_prefix}/libexec/scan-build/bin
-
-            xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${destroot}${prefix}/bin/scan-build-${suffix}&quot;
-            reinplace &quot;s:EXEC_PATH:${sub_prefix}/bin/scan-build:&quot; &quot;${destroot}${prefix}/bin/scan-build-${suffix}&quot;
-
-            xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${destroot}${prefix}/bin/scan-view-${suffix}&quot;
-            reinplace &quot;s:EXEC_PATH:${sub_prefix}/bin/scan-view:&quot; &quot;${destroot}${prefix}/bin/scan-view-${suffix}&quot;
-        }
-    }
-}
-
-livecheck.type          none
</del></span></pre></div>
<a id="trunkdportslangllvm31Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/llvm-3.1/Portfile (131699 => 131700)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/llvm-3.1/Portfile        2015-01-16 02:47:18 UTC (rev 131699)
+++ trunk/dports/lang/llvm-3.1/Portfile        2015-01-16 03:08:17 UTC (rev 131700)
</span><span class="lines">@@ -1,344 +1,22 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><span class="cx"> PortSystem              1.0
</span><del>-PortGroup select        1.0
</del><ins>+PortGroup               obsolete 1.0
</ins><span class="cx"> 
</span><ins>+set new_version         3.4
+
</ins><span class="cx"> set llvm_version        3.1
</span><del>-revision                8
</del><ins>+version                 ${llvm_version}
+revision                9
+epoch                   1
</ins><span class="cx"> name                    llvm-${llvm_version}
</span><span class="cx"> subport                 clang-${llvm_version} {}
</span><del>-set suffix              mp-${llvm_version}
-set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
-dist_subdir             llvm
</del><span class="cx"> categories              lang
</span><span class="cx"> platforms               darwin
</span><span class="cx"> license                 NCSA
</span><del>-maintainers             jeremyhu larryv
</del><span class="cx"> 
</span><del>-platform darwin {
-    if {${os.major} &gt;= 13} {
-        depends_lib
-        depends_run
-        pre-fetch {
-            ui_error &quot;$name is not supported on Mavericks or later.&quot;
-            error &quot;unsupported platform&quot;
-        }
-    }
-}
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    homepage            http://llvm.org/
-    description         llvm is a next generation compiler infrastructure
-    long_description    The LLVM Core libraries provide a modern source- and \
-                        target-independent optimizer, along with code \
-                        generation support for many popular CPUs (as well as \
-                        some less common ones!) These libraries are built \
-                        around a well specified code representation known as \
-                        the LLVM intermediate representation (&quot;LLVM IR&quot;).
-
-    depends_lib         port:libffi
-    depends_run         bin:perl:perl5 port:llvm_select
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    homepage            http://clang.llvm.org/
-    description         C, C++, Objective C and Objective C++ compiler
-    long_description    Clang is an &quot;LLVM native&quot; C/C++/Objective-C compiler, \
-                        which aims to deliver amazingly fast compiles (e.g. \
-                        about 3x faster than GCC when compiling Objective-C \
-                        code in a debug configuration), extremely useful error \
-                        and warning messages and to provide a platform for \
-                        building great source level tools. The included Clang \
-                        Static Analyzer is a tool that automatically finds bugs in \
-                        your code, and is a great example of the sort of tool \
-                        that can be built using the Clang frontend as a \
-                        library to parse C/C++ code.
-
-    depends_lib         port:llvm-${llvm_version} port:libffi
-    depends_run         port:clang_select port:ld64
-    depends_extract     bin:svn:subversion
-    depends_build       port:cctools
-    depends_skip_archcheck-append cctools ld64 subversion
-
-    default_variants    +analyzer
-}
-
-#fetch.type              svn
-#svn.revision            163481
-#set compiler_rt_rev     ${svn.revision}
-#set libcxx_rev          ${svn.revision}
-#version                 ${llvm_version}-r${svn.revision}
-#worksrcdir              trunk
-#svn.url                 http://llvm.org/svn/llvm-project/llvm/trunk
-#worksrcdir              release_31
-#svn.url                 http://llvm.org/svn/llvm-project/llvm/branches/release_31
-#default_variants-append +assertions
-
-version                 ${llvm_version}
-set compiler_rt_rev     156798
-set libcxx_rev          ${compiler_rt_rev}
-epoch                   1
-master_sites            http://llvm.org/releases/${version}
-extract.suffix          .tar.gz
-distfiles               llvm-${version}.src${extract.suffix}
-worksrcdir              llvm-${version}.src
-
-checksums               llvm-${version}.src${extract.suffix} \
-                        sha1    234c96e73ef81aec9a54da92fc2a9024d653b059 \
-                        rmd160  ceb0ef36ab6109da7a8568b04de759752dbee5a7 \
-                        sha256  1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab \
-                        clang-${version}.src${extract.suffix} \
-                        sha1    19f33b187a50d22fda2a6f9ed989699a9a9efd62 \
-                        rmd160  5ae09d3d69d4f1e50e07f6bf3474da96e6a84feb \
-                        sha256  ff63e215dcd3e2838ffdea38502f8d35bab17e487f3c3799579961e452d5a786 \
-                        compiler-rt-${version}.src${extract.suffix} \
-                        sha1    62b7646eee6c81f3078ea398fee160b264b5bd84 \
-                        rmd160  c09239db5e798396b34d98f3ffdb9b4f2456b84e \
-                        sha256  1bd4624e7465b05ea713198f19c1c235bae2d35a411c15a4648300bc74294f5c
-
-patchfiles      install_target.patch \
-                tiger.patch \
-                tiger-shlib.patch
-
-patch.pre_args  -p1
-
</del><span class="cx"> if {${subport} == &quot;clang-${llvm_version}&quot;} {
</span><del>-    if {${distfiles} != &quot;&quot;} {
-        distfiles-append     clang-${version}.src${extract.suffix} compiler-rt-${version}.src${extract.suffix}
-    }
-
-    patchfiles-append    tiger-shlib-clang.patch tiger-libclang.patch scan-build-PR-35006.patch \
-                         0001-PR12597-Remove-chown-R-root-wheel-from-the-makefile.patch \
-                         snowleopard-cmath.patch
-
-    build.target        clang-only
-    destroot.target     install-clang
</del><ins>+    replaced_by clang-${new_version}
+} else {
+    replaced_by llvm-${new_version}
</ins><span class="cx"> }
</span><del>-
-build.env-append        VERBOSE=1 \
-                        REQUIRES_RTTI=1
-destroot.env-append     VERBOSE=1 \
-                        REQUIRES_RTTI=1
-configure.cppflags
-configure.ldflags
-configure.pre_args-delete --prefix=${prefix}
-configure.args          --enable-bindings=none --enable-libffi --enable-shared --enable-jit \
-                        --enable-optimized --disable-profiling --enable-pic \
-                        --enable-debug-symbols --disable-debug-runtime \
-                        --prefix=&quot;${sub_prefix}&quot;
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    select.group        llvm
-    select.file         ${filespath}/mp-${subport}
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    select.group        clang
-    select.file         ${filespath}/mp-${subport}
-}
-
-# g++-4.0 fails to build some of the newer C++ for ppc
-# Intel looks ok, but I prefer using gcc-4.2 for consistency
-compiler.blacklist gcc-4.0
-
-variant universal {
-    build.env-append \
-        UNIVERSAL=1 \
-        UNIVERSAL_ARCH=&quot;[get_canonical_archs]&quot;
-    destroot.env-append \
-        UNIVERSAL=1 \
-        UNIVERSAL_ARCH=&quot;[get_canonical_archs]&quot;
-
-    post-extract {
-        # workaround a bug in Apple's shipped gcc driver-driver, patched in
-        # ours with driverdriver-num_infiles.patch
-        if {${configure.compiler} == &quot;gcc-4.0&quot; ||
-            ${configure.compiler} == &quot;gcc-4.2&quot; ||
-            ${configure.compiler} == &quot;llvm-gcc-4.2&quot;} {
-            system &quot;echo \&quot;static int ___ignoreme;\&quot; &gt; ${worksrcpath}/tools/llvm-shlib/ignore.c&quot;
-        }
-    }
-}
-
-variant assertions description &quot;Enable assertions for error detection (has performance impacts, especially on JIT)&quot; {
-    configure.args-append --enable-assertions
-}
-
-platform darwin {
-    if {${build_arch} eq &quot;i386&quot;} {
-        configure.pre_args-append --build=i686-apple-darwin${os.major}
-    } elseif {${build_arch} eq &quot;ppc&quot;} {
-        configure.pre_args-append --build=powerpc-apple-darwin${os.major}
-    } elseif {${build_arch} eq &quot;ppc64&quot;} {
-        configure.pre_args-append --build=powerpc64-apple-darwin${os.major}
-    } else {
-        configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
-    }
-
-    if {[string match &quot;*ppc*&quot; [get_canonical_archs]]} {
-        # http://trac.macports.org/ticket/33987
-        configure.args-append --with-optimize-option=-Os
-    }
-}
-
-platform darwin 8 {
-    # Tiger's DevTools make has issues with the nested ifs in compiler-rt
-    depends_run-append      port:gmake
-    build.cmd               ${prefix}/bin/gmake
-
-    post-configure {
-        reinplace &quot;/^RPATH/s/=.*/=/&quot; ${worksrcpath}/Makefile.config
-    }
-}
-
-post-extract {
-    if {${subport} == &quot;clang-${llvm_version}&quot;} {
-        #system &quot;cd ${worksrcpath}/tools &amp;&amp; svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/trunk clang&quot;
-        #system &quot;cd ${worksrcpath}/tools &amp;&amp; svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/cfe/branches/release_31 clang&quot;
-        file rename ${workpath}/clang-${llvm_version}.src ${worksrcpath}/tools/clang
-
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt&quot;
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${compiler_rt_rev} http://llvm.org/svn/llvm-project/compiler-rt/branches/release_31 compiler-rt&quot;
-        file rename ${workpath}/compiler-rt-${llvm_version}.src ${worksrcpath}/projects/compiler-rt
-
-        system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/trunk libcxx&quot;
-        #system &quot;cd ${worksrcpath}/projects &amp;&amp; svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/branches/release_31 libcxx&quot;
-        #file rename ${workpath}/libcxx-${llvm_version}.src ${worksrcpath}/projects/libcxx
-    }
-}
-
-post-patch {
-    if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-        # http://trac.macports.org/ticket/33207
-        reinplace &quot;/LLVMINTERP/s/-lli/-lli-${suffix}/&quot; ${worksrcpath}/tools/llvm-ld/llvm-ld.cpp
-    } elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-        # http://trac.macports.org/ticket/33272
-        if {![variant_isset arm_runtime]} {
-            reinplace {/^SubDirs/ s/arm//} ${worksrcpath}/projects/compiler-rt/lib/Makefile.mk
-            reinplace {/^UniversalArchs/ s/arm[^ )]* *//g} ${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
-        }

-        reinplace {s/VERBOSE := 0/VERBOSE := 1/} ${worksrcpath}/projects/compiler-rt/make/config.mk
-    }
-}
-
-post-destroot {
-    file mkdir ${destroot}${prefix}/share/doc
-    file rename ${destroot}${sub_prefix}/docs/llvm ${destroot}${prefix}/share/doc/${subport}
-
-    foreach bin [glob ${destroot}${sub_prefix}/bin/*] {
-        set bin_filename [string map &quot;${sub_prefix} ${prefix}&quot; ${bin}]-${suffix}
-        set exec_path [string map &quot;${destroot}${sub_prefix} ${sub_prefix}&quot; ${bin}]
-
-        xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${bin_filename}&quot;
-        reinplace &quot;s:EXEC_PATH:${exec_path}:&quot; &quot;${bin_filename}&quot;
-    }
-
-    if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-        foreach man [glob ${destroot}${sub_prefix}/share/man/man1/*.1] {
-            set basename [string map &quot;${destroot}${sub_prefix}/share/man/man1/ {}&quot; ${man}]
-            file rename ${man} ${destroot}${prefix}/share/man/man1/[string map &quot;.1 -${suffix}.1&quot; ${basename}]
-        }
-
-        foreach liba [glob ${destroot}${sub_prefix}/lib/*dylib] {
-            set liba_nodr [string map &quot;${destroot} {}&quot; ${liba}]
-            system &quot;install_name_tool -id ${liba_nodr} ${liba}&quot;
-
-            foreach libb [glob ${destroot}${sub_prefix}/lib/*dylib] {
-                set libb_base [string map &quot;${destroot}${sub_prefix}/lib/ {}&quot; ${libb}]
-                set libb_nodr [string map &quot;${destroot} {}&quot; ${libb}]
-
-                system &quot;install_name_tool -change @executable_path/../lib/${libb_base} ${libb_nodr} ${liba}&quot;
-            }
-        }
-    } elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-        system &quot;ditto ${worksrcpath}/projects/libcxx/include ${destroot}${sub_prefix}/lib/c++/v1&quot;
-
-        # http://trac.macports.org/ticket/33207
-        ln -s ${prefix}/libexec/ld64/ld ${destroot}${sub_prefix}/bin/ld
-
-        system &quot;install_name_tool -id ${sub_prefix}/lib/libclang.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-        system &quot;install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}svn.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}svn.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-        system &quot;install_name_tool -change @executable_path/../lib/libLLVM-${llvm_version}.dylib ${sub_prefix}/lib/libLLVM-${llvm_version}.dylib ${destroot}${sub_prefix}/lib/libclang.dylib&quot;
-    }
-}
-
-if {${subport} == &quot;llvm-${llvm_version}&quot;} {
-    variant ocaml description {Enable generation of OCaml binding} {
-        depends_lib-append   port:ocaml
-
-        configure.args-delete --enable-bindings=none
-        configure.args-append --enable-bindings=ocaml
-
-        destroot.args-append  OVERRIDE_libdir=${sub_prefix}/lib
-    }
-} elseif {${subport} == &quot;clang-${llvm_version}&quot;} {
-    variant arm_runtime description {Build and install the arm runtime for iOS development (requires iOS SDK)} {}
-
-    # The iOS SDK was shipped with all Xcode releases after 4.0
-    if {[info exists xcodeversion] &amp;&amp; [vercmp &quot;4.0&quot; ${xcodeversion}] &lt;= 0} {
-       default_variants-append +arm_runtime
-    }
-
-    set pythonver &quot;&quot;
-    set pythonverdot &quot;&quot;
-
-    if {![variant_isset python25] &amp;&amp; ![variant_isset python26]} {
-        default_variants-append +python27
-    }
-
-    variant python25 conflicts python26 python27 description {Use python 2.5} {
-        set pythonver 25
-        set pythonverdot 2.5
-        depends_build-append port:python25
-    }
-
-    variant python26 conflicts python25 python27 description {Use python 2.6} {
-        set pythonver 26
-        set pythonverdot 2.6
-        depends_build-append port:python26
-    }
-
-    variant python27 conflicts python25 python26 description {Use python 2.7} {
-        set pythonver 27
-        set pythonverdot 2.7
-        depends_build-append port:python27
-    }
-
-    variant analyzer description {Install clang static analyzer} {
-        if {[string equal &quot;${pythonver}&quot; &quot;&quot;]} {
-            ui_error &quot;You must select a python variant to use the clang static analyzer (+analyzer)&quot;
-            error &quot;Invalid variant combination&quot;
-        }
-
-        depends_run-append port:perl5 port:python${pythonver}
-
-        post-patch {
-            reinplace &quot;s|/usr/bin/env perl|${prefix}/bin/perl5|g&quot; \
-                ${worksrcpath}/tools/clang/tools/scan-build/ccc-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-build/c++-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-build/scan-build
-            reinplace &quot;s|/usr/bin/env python|${prefix}/bin/python${pythonverdot}|g&quot; \
-                ${worksrcpath}/tools/clang/tools/scan-build/set-xcode-analyzer \
-                ${worksrcpath}/tools/clang/tools/scan-view/scan-view
-        }
-
-        post-destroot {
-            file mkdir ${destroot}${sub_prefix}/libexec
-            file copy ${worksrcpath}/tools/clang/tools/scan-build ${destroot}${sub_prefix}/libexec/scan-build
-            file copy ${worksrcpath}/tools/clang/tools/scan-view ${destroot}${sub_prefix}/libexec/scan-view
-
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-build/.svn
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-view/.svn
-            file delete -force ${destroot}${sub_prefix}/libexec/scan-view/Resources/.svn
-
-            ln -s ${sub_prefix}/libexec/scan-build/scan-build ${destroot}${sub_prefix}/bin/scan-build
-            ln -s ${sub_prefix}/libexec/scan-view/scan-view ${destroot}${sub_prefix}/bin/scan-view
-            ln -s ${sub_prefix}/bin ${destroot}${sub_prefix}/libexec/scan-build/bin
-
-            xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${destroot}${prefix}/bin/scan-build-${suffix}&quot;
-            reinplace &quot;s:EXEC_PATH:${sub_prefix}/bin/scan-build:&quot; &quot;${destroot}${prefix}/bin/scan-build-${suffix}&quot;
-
-            xinstall -m 755 &quot;${filespath}/llvm-bin&quot; &quot;${destroot}${prefix}/bin/scan-view-${suffix}&quot;
-            reinplace &quot;s:EXEC_PATH:${sub_prefix}/bin/scan-view:&quot; &quot;${destroot}${prefix}/bin/scan-view-${suffix}&quot;
-        }
-    }
-}
-
-livecheck.type          none
</del></span></pre>
</div>
</div>

</body>
</html>