[128645] trunk/dports/lang/llvm-3.6/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Nov 24 15:05:48 PST 2014


Revision: 128645
          https://trac.macports.org/changeset/128645
Author:   jeremyhu at macports.org
Date:     2014-11-24 15:05:48 -0800 (Mon, 24 Nov 2014)
Log Message:
-----------
llvm-3.6: Update Portfile for post-release changes based on 3.5 Portfile changes

Modified Paths:
--------------
    trunk/dports/lang/llvm-3.6/Portfile

Modified: trunk/dports/lang/llvm-3.6/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.6/Portfile	2014-11-24 23:01:56 UTC (rev 128644)
+++ trunk/dports/lang/llvm-3.6/Portfile	2014-11-24 23:05:48 UTC (rev 128645)
@@ -7,7 +7,7 @@
 set llvm_version        3.6
 set llvm_version_no_dot 36
 name                    llvm-${llvm_version}
-subport                 clang-${llvm_version} { }
+subport                 clang-${llvm_version} {}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
 dist_subdir             llvm
@@ -70,12 +70,12 @@
 #svn.url                 https://llvm.org/svn/llvm-project/llvm/branches/release_${llvm_version_no_dot}
 default_variants-append +assertions
 
-#version                 ${llvm_version}
+#version                 ${llvm_version}.0
 #epoch                   1
 #master_sites            http://llvm.org/releases/${version}
-#extract.suffix          .tar.gz
+#extract.suffix          .tar.xz
 #distfiles               llvm-${version}.src${extract.suffix}
-#worksrcdir              llvm-${version}
+#worksrcdir              llvm-${version}.src
 
 if {${distfiles} != ""} {
     if {${subport} == "llvm-${llvm_version}"} {
@@ -83,7 +83,7 @@
             distfiles-append     polly-${version}.src${extract.suffix}
         }
     } elseif {${subport} == "clang-${llvm_version}"} {
-        distfiles-append     clang-${version}.src${extract.suffix} compiler-rt-${version}.src${extract.suffix} libcxx-${version}.src${extract.suffix} clang-tools-extra-${version}.src${extract.suffix}
+        distfiles-append     cfe-${version}.src${extract.suffix} compiler-rt-${version}.src${extract.suffix} libcxx-${version}.src${extract.suffix} clang-tools-extra-${version}.src${extract.suffix}
     }
 }
 
@@ -216,7 +216,7 @@
             } elseif {${worksrcdir} == "release_${llvm_version_no_dot}" } {
                 system "cd ${worksrcpath}/tools && svn co -r ${svn.revision} http://llvm.org/svn/llvm-project/polly/branches/release_${llvm_version_no_dot} polly"
             } else {
-                file rename ${workpath}/polly-${llvm_version} ${worksrcpath}/tools/polly
+                file rename ${workpath}/polly-${version}.src ${worksrcpath}/tools/polly
             }
         }
     } elseif {${subport} == "clang-${llvm_version}"} {
@@ -231,10 +231,10 @@
             system "cd ${worksrcpath}/projects && svn co -r ${libcxx_rev} http://llvm.org/svn/llvm-project/libcxx/branches/release_${llvm_version_no_dot} libcxx"
             system "cd ${worksrcpath}/tools/clang/tools && svn co -r ${clang-modernize_rev} http://llvm.org/svn/llvm-project/clang-tools-extra/branches/release_${llvm_version_no_dot} extra"
         } else {
-            file rename ${workpath}/clang-${llvm_version} ${worksrcpath}/tools/clang
-            file rename ${workpath}/compiler-rt-${llvm_version} ${worksrcpath}/projects/compiler-rt
-            file rename ${workpath}/libcxx-${llvm_version} ${worksrcpath}/projects/libcxx
-            file rename ${workpath}/clang-tools-extra-${llvm_version} ${worksrcpath}/tools/clang/tools/extra
+            file rename ${workpath}/cfe-${version}.src ${worksrcpath}/tools/clang
+            file rename ${workpath}/compiler-rt-${version}.src ${worksrcpath}/projects/compiler-rt
+            file rename ${workpath}/libcxx-${version}.src ${worksrcpath}/projects/libcxx
+            file rename ${workpath}/clang-tools-extra-${version}.src ${worksrcpath}/tools/clang/tools/extra
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141124/ae13f946/attachment-0001.html>


More information about the macports-changes mailing list