[86767] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Thu Nov 3 03:27:56 PDT 2011


Revision: 86767
          http://trac.macports.org/changeset/86767
Author:   jeremyhu at macports.org
Date:     2011-11-03 03:27:54 -0700 (Thu, 03 Nov 2011)
Log Message:
-----------
clang-* llvm-*: Install scan-view and scan-build into bindir

Modified Paths:
--------------
    trunk/dports/lang/clang-2.9/Portfile
    trunk/dports/lang/clang-3.0/Portfile
    trunk/dports/lang/clang-3.1/Portfile
    trunk/dports/lang/llvm-2.9/Portfile
    trunk/dports/lang/llvm-3.0/Portfile
    trunk/dports/lang/llvm-3.1/Portfile

Added Paths:
-----------
    trunk/dports/lang/clang-2.9/files/
    trunk/dports/lang/clang-2.9/files/scan-build
    trunk/dports/lang/clang-2.9/files/scan-view
    trunk/dports/lang/clang-3.0/files/
    trunk/dports/lang/clang-3.0/files/scan-build
    trunk/dports/lang/clang-3.0/files/scan-view
    trunk/dports/lang/clang-3.1/files/
    trunk/dports/lang/clang-3.1/files/scan-build
    trunk/dports/lang/clang-3.1/files/scan-view

Modified: trunk/dports/lang/clang-2.9/Portfile
===================================================================
--- trunk/dports/lang/clang-2.9/Portfile	2011-11-03 06:05:09 UTC (rev 86766)
+++ trunk/dports/lang/clang-2.9/Portfile	2011-11-03 10:27:54 UTC (rev 86767)
@@ -7,7 +7,7 @@
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
-svn.revision            143106
+svn.revision            143612
 version                 ${llvm_version}-r${svn.revision}
 categories              lang
 platforms               darwin
@@ -89,6 +89,11 @@
         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 ${filespath}/scan-build "${destroot}${prefix}/bin/scan-build-${suffix}"
+        xinstall -m 755 ${filespath}/scan-view "${destroot}${prefix}/bin/scan-view-${suffix}"
+        reinplace "s:SUB_PREFIX:${sub_prefix}:" "${destroot}${prefix}/bin/scan-build-${suffix}"
+        reinplace "s:SUB_PREFIX:${sub_prefix}:" "${destroot}${prefix}/bin/scan-view-${suffix}"
     }
 }
 

Added: trunk/dports/lang/clang-2.9/files/scan-build
===================================================================
--- trunk/dports/lang/clang-2.9/files/scan-build	                        (rev 0)
+++ trunk/dports/lang/clang-2.9/files/scan-build	2011-11-03 10:27:54 UTC (rev 86767)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec SUB_PREFIX/bin/scan-build "${@}"

Added: trunk/dports/lang/clang-2.9/files/scan-view
===================================================================
--- trunk/dports/lang/clang-2.9/files/scan-view	                        (rev 0)
+++ trunk/dports/lang/clang-2.9/files/scan-view	2011-11-03 10:27:54 UTC (rev 86767)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec SUB_PREFIX/bin/scan-view "${@}"

Modified: trunk/dports/lang/clang-3.0/Portfile
===================================================================
--- trunk/dports/lang/clang-3.0/Portfile	2011-11-03 06:05:09 UTC (rev 86766)
+++ trunk/dports/lang/clang-3.0/Portfile	2011-11-03 10:27:54 UTC (rev 86767)
@@ -7,7 +7,7 @@
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
-svn.revision            143106
+svn.revision            143612
 version                 ${llvm_version}-r${svn.revision}
 categories              lang
 platforms               darwin
@@ -89,6 +89,11 @@
         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 ${filespath}/scan-build "${destroot}${prefix}/bin/scan-build-${suffix}"
+        xinstall -m 755 ${filespath}/scan-view "${destroot}${prefix}/bin/scan-view-${suffix}"
+        reinplace "s:SUB_PREFIX:${sub_prefix}:" "${destroot}${prefix}/bin/scan-build-${suffix}"
+        reinplace "s:SUB_PREFIX:${sub_prefix}:" "${destroot}${prefix}/bin/scan-view-${suffix}"
     }
 }
 

Added: trunk/dports/lang/clang-3.0/files/scan-build
===================================================================
--- trunk/dports/lang/clang-3.0/files/scan-build	                        (rev 0)
+++ trunk/dports/lang/clang-3.0/files/scan-build	2011-11-03 10:27:54 UTC (rev 86767)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec SUB_PREFIX/bin/scan-build "${@}"

Added: trunk/dports/lang/clang-3.0/files/scan-view
===================================================================
--- trunk/dports/lang/clang-3.0/files/scan-view	                        (rev 0)
+++ trunk/dports/lang/clang-3.0/files/scan-view	2011-11-03 10:27:54 UTC (rev 86767)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec SUB_PREFIX/bin/scan-view "${@}"

Modified: trunk/dports/lang/clang-3.1/Portfile
===================================================================
--- trunk/dports/lang/clang-3.1/Portfile	2011-11-03 06:05:09 UTC (rev 86766)
+++ trunk/dports/lang/clang-3.1/Portfile	2011-11-03 10:27:54 UTC (rev 86767)
@@ -7,7 +7,7 @@
 name                    clang-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
-svn.revision            143106
+svn.revision            143612
 version                 ${llvm_version}-r${svn.revision}
 categories              lang
 platforms               darwin
@@ -89,6 +89,11 @@
         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 ${filespath}/scan-build "${destroot}${prefix}/bin/scan-build-${suffix}"
+        xinstall -m 755 ${filespath}/scan-view "${destroot}${prefix}/bin/scan-view-${suffix}"
+        reinplace "s:SUB_PREFIX:${sub_prefix}:" "${destroot}${prefix}/bin/scan-build-${suffix}"
+        reinplace "s:SUB_PREFIX:${sub_prefix}:" "${destroot}${prefix}/bin/scan-view-${suffix}"
     }
 }
 

Added: trunk/dports/lang/clang-3.1/files/scan-build
===================================================================
--- trunk/dports/lang/clang-3.1/files/scan-build	                        (rev 0)
+++ trunk/dports/lang/clang-3.1/files/scan-build	2011-11-03 10:27:54 UTC (rev 86767)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec SUB_PREFIX/bin/scan-build "${@}"


Property changes on: trunk/dports/lang/clang-3.1/files/scan-build
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/dports/lang/clang-3.1/files/scan-view
===================================================================
--- trunk/dports/lang/clang-3.1/files/scan-view	                        (rev 0)
+++ trunk/dports/lang/clang-3.1/files/scan-view	2011-11-03 10:27:54 UTC (rev 86767)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec SUB_PREFIX/bin/scan-view "${@}"


Property changes on: trunk/dports/lang/clang-3.1/files/scan-view
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/dports/lang/llvm-2.9/Portfile
===================================================================
--- trunk/dports/lang/llvm-2.9/Portfile	2011-11-03 06:05:09 UTC (rev 86766)
+++ trunk/dports/lang/llvm-2.9/Portfile	2011-11-03 10:27:54 UTC (rev 86767)
@@ -7,7 +7,7 @@
 name                    llvm-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/${name}
-svn.revision            143106
+svn.revision            143612
 version                 ${llvm_version}-r${svn.revision}
 categories              lang
 platforms               darwin

Modified: trunk/dports/lang/llvm-3.0/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.0/Portfile	2011-11-03 06:05:09 UTC (rev 86766)
+++ trunk/dports/lang/llvm-3.0/Portfile	2011-11-03 10:27:54 UTC (rev 86767)
@@ -7,7 +7,7 @@
 name                    llvm-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/${name}
-svn.revision            143106
+svn.revision            143612
 version                 ${llvm_version}-r${svn.revision}
 categories              lang
 platforms               darwin

Modified: trunk/dports/lang/llvm-3.1/Portfile
===================================================================
--- trunk/dports/lang/llvm-3.1/Portfile	2011-11-03 06:05:09 UTC (rev 86766)
+++ trunk/dports/lang/llvm-3.1/Portfile	2011-11-03 10:27:54 UTC (rev 86767)
@@ -7,7 +7,7 @@
 name                    llvm-${llvm_version}
 set suffix              mp-${llvm_version}
 set sub_prefix          ${prefix}/libexec/${name}
-svn.revision            143106
+svn.revision            143612
 version                 ${llvm_version}-r${svn.revision}
 categories              lang
 platforms               darwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111103/edcba0b1/attachment.html>


More information about the macports-changes mailing list