[38775] trunk/dports/lang

ryandesign at macports.org ryandesign at macports.org
Wed Jul 30 23:29:41 PDT 2008


Revision: 38775
          http://trac.macosforge.org/projects/macports/changeset/38775
Author:   ryandesign at macports.org
Date:     2008-07-30 23:29:40 -0700 (Wed, 30 Jul 2008)
Log Message:
-----------
llvm-devel: re-add as a copy of llvm @38413. The previous llvm-devel port from r38384 was independently added, breaking svn log and svn blame. So this is now fixed. See http://lists.macosforge.org/pipermail/macports-dev/2008-July/005712.html . This new version also picks up fixes I made in llvm between r38382 and r38413 and therefore has its revision incremented from the previous llvm-devel port.

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

Added Paths:
-----------
    trunk/dports/lang/llvm-devel/
    trunk/dports/lang/llvm-devel/files/patch-tools-Makefile.diff

Copied: trunk/dports/lang/llvm-devel (from rev 38773, trunk/dports/lang/llvm)


Property changes on: trunk/dports/lang/llvm-devel
___________________________________________________________________
Name: svn:mergeinfo
   + 

Modified: trunk/dports/lang/llvm-devel/Portfile
===================================================================
--- trunk/dports/lang/llvm/Portfile	2008-07-31 04:46:23 UTC (rev 38773)
+++ trunk/dports/lang/llvm-devel/Portfile	2008-07-31 06:29:40 UTC (rev 38775)
@@ -2,24 +2,32 @@
 
 PortSystem 1.0
 
-name                    llvm
-version                 2.3
-revision                2
+name                    llvm-devel
+version                 53722
+revision                1
+set checker-version     62
 categories              lang
 platforms               darwin
 use_parallel_build      yes
-maintainers             erickt at macports.org openmaintainer
+maintainers             erickt at macports.org pguyot at kallisys.net openmaintainer
 description             llvm is a next generation compiler infrastructure
 long_description        llvm brings tools to work on the llvm intermediate \
                         language incl. a C and C++ frontend.
 
 homepage                http://llvm.org/
-master_sites            ${homepage}releases/${version}/
+master_sites            macports:pguyot
 
-checksums               md5     17254d72863b7fa005f3fb327aea3439 \
-                        sha1    b6df5bd3d6b361380e7f69883b166bec62e45e84 \
-                        rmd160  6f26e08b6ab4adb020c12fc8d217ab6b1108de46
+distname                llvm-${version}
 
+checksums               ${distname}${extract.suffix} \
+                            md5     2572a3e6bc2d2356942dbae1929621c8 \
+                            sha1    be776f49fe15c7599631eff0e6a4db575593f480 \
+                            rmd160  efa4833664a2ff5b017645b13ce642d3fa1f1167 \
+                        checker-${checker-version}${extract.suffix} \
+                            md5     a04f5c35a65556b73e56c28f766e3750 \
+                            sha1    85dcdc6a592fa4000b3314c55320dad7065f2522 \
+                            rmd160  243bb4e053c2b435ac0af137d49ab5be4011e292
+
 depends_build           bin:flex:flex \
                         bin:bison:bison
 
@@ -58,3 +66,21 @@
         }
     }
 }
+
+variant clang description {Install clang (with checker tools)} {
+    distfiles-append    checker-${checker-version}${extract.suffix}
+    post-extract {
+        move ${workpath}/checker-${checker-version} ${worksrcpath}/tools/clang
+    }
+    patchfiles-append   patch-tools-Makefile.diff
+    depends_lib-append  port:python25
+    post-destroot {
+        reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|g" ${worksrcpath}/tools/clang/utils/ccc-analyzer
+        xinstall -W ${worksrcpath}/tools/clang/utils \
+            ccc \
+            ccc-analyzer \
+            scan-build \
+            sorttable.js \
+            ${destroot}${prefix}/bin
+    }
+}

Copied: trunk/dports/lang/llvm-devel/files/patch-tools-Makefile.diff (from rev 38384, trunk/dports/lang/llvm-devel/files/patch-tools-Makefile.diff)
===================================================================
--- trunk/dports/lang/llvm-devel/files/patch-tools-Makefile.diff	                        (rev 0)
+++ trunk/dports/lang/llvm-devel/files/patch-tools-Makefile.diff	2008-07-31 06:29:40 UTC (rev 38775)
@@ -0,0 +1,9 @@
+--- tools/Makefile.orig	2008-07-17 18:10:59.000000000 +0200
++++ tools/Makefile	2008-07-17 18:11:29.000000000 +0200
+@@ -29,4 +29,6 @@
+ PARALLEL_DIRS += lto2
+ endif
+ 
++PARALLEL_DIRS += clang
++
+ include $(LEVEL)/Makefile.common
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080730/7a778ef7/attachment.html 


More information about the macports-changes mailing list