[75016] trunk/dports/databases/cassandra/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Jan 11 12:27:35 PST 2011


Revision: 75016
          http://trac.macports.org/changeset/75016
Author:   singingwolfboy at macports.org
Date:     2011-01-11 12:27:26 -0800 (Tue, 11 Jan 2011)
Log Message:
-----------
Updated cassandra to 0.7.0

Modified Paths:
--------------
    trunk/dports/databases/cassandra/Portfile

Modified: trunk/dports/databases/cassandra/Portfile
===================================================================
--- trunk/dports/databases/cassandra/Portfile	2011-01-11 17:12:39 UTC (rev 75015)
+++ trunk/dports/databases/cassandra/Portfile	2011-01-11 20:27:26 UTC (rev 75016)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    cassandra
-version                 0.6.2
+version                 0.7.0
 categories              databases
 maintainers             singingwolfboy openmaintainer
 homepage                http://cassandra.apache.org/
@@ -23,17 +23,18 @@
     by Facebook in 2008, and is now developed by Apache committers and \
     contributors from many companies.
 
-checksums               md5     14ab530b5c8ecc4def066d6630e39873 \
-                        sha1    6e81ccf65da6c98cab67021837d03ebd26ed1226 \
-                        rmd160  54740d98fc9edded159771843504f770849f5735
+checksums               md5     f63966912a4ad3eb257310f185c4e1d4 \
+                        sha1    5fa36297353d170dd20c76b8004598c5eac40107 \
+                        rmd160  c4fc9e5ee13f24038c45dc23028b184b3e80652b
 
-
 depends_build           bin:ant:apache-ant port:apache-ivy
 depends_run             port:antlr3 port:junit port:jline port:slf4j \
                         port:commons-cli port:commons-lang port:commons-collections \
-                        port:jakarta-log4j port:google-collections 
+                        port:commons-codec port:jakarta-log4j \
+                        port:google-collections  port:google-guava
 set mp_libs {antlr junit jline slf4j-api slf4j-log4j12 commons-cli \
-    commons-lang commons-collections jakarta-log4j google-collect }
+    commons-lang commons-collections commons-codec jakarta-log4j \
+    google-collect google-guava }
 
 use_configure           no
 
@@ -65,7 +66,7 @@
     eval xinstall -m 755 [glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin
 
     # install jars
-    xinstall -m 644 ${worksrcpath}/build/apache-${name}-${version}.jar \
+    xinstall -m 644 ${worksrcpath}/build/apache-${name}-${version}-SNAPSHOT.jar \
         ${destroot}${prefix}/share/java/${name}.jar
     if {[variant_isset no_deps]} {
         eval xinstall -m 644 [glob ${worksrcpath}/lib/*.jar] ${cas_home}/lib/
@@ -112,26 +113,34 @@
         file delete ${worksrcpath}/lib/commons-collections-3.2.1.jar
         ln -s ${prefix}/share/java/commons-collections.jar ${worksrcpath}/lib/commons-collections.jar
         reinplace "s|commons-collections-3.2.1.jar|commons-collections.jar|" ${worksrcpath}/build.xml
+
+        file delete ${worksrcpath}/lib/commons-codec-1.2.jar
+        ln -s ${prefix}/share/java/commons-codec.jar ${worksrcpath}/lib/commons-codec.jar
+        reinplace "s|commons-codec-1.2.jar|commons-codec.jar|" ${worksrcpath}/build.xml
         
-        file delete ${worksrcpath}/lib/log4j-1.2.15.jar
+        file delete ${worksrcpath}/lib/log4j-1.2.16.jar
         ln -s ${prefix}/share/java/jakarta-log4j.jar ${worksrcpath}/lib/jakarta-log4j.jar
-        reinplace "s|log4j-1.2.15.jar|jakarta-log4j.jar|" ${worksrcpath}/build.xml
+        reinplace "s|log4j-1.2.16.jar|jakarta-log4j.jar|" ${worksrcpath}/build.xml
         
         file delete ${worksrcpath}/lib/google-collect-1.0-rc1.jar
         ln -s ${prefix}/share/java/google-collect.jar ${worksrcpath}/lib/google-collect.jar
         reinplace "s|google-collect-1.0-rc1.jar|google-collect.jar|" ${worksrcpath}/build.xml
+
+        file delete ${worksrcpath}/lib/guava-r05.jar
+        ln -s ${prefix}/share/java/google-guava.jar ${worksrcpath}/lib/google-guava.jar
+        reinplace "s|guava-r05.jar|google-guava.jar|" ${worksrcpath}/build.xml
         
         file delete ${worksrcpath}/lib/jline-0.9.94.jar
         ln -s ${prefix}/share/java/jline.jar ${worksrcpath}/lib/jline.jar
         reinplace "s|jline-0.9.94.jar|jline.jar|" ${worksrcpath}/build.xml
         
-        file delete ${worksrcpath}/lib/slf4j-api-1.5.8.jar
+        file delete ${worksrcpath}/lib/slf4j-api-1.6.1.jar
         ln -s ${prefix}/share/java/slf4j-api.jar ${worksrcpath}/lib/slf4j-api.jar
-        reinplace "s|slf4j-api-1.5.8.jar|slf4j-api.jar|" ${worksrcpath}/build.xml
+        reinplace "s|slf4j-api-1.6.1.jar|slf4j-api.jar|" ${worksrcpath}/build.xml
         
-        file delete ${worksrcpath}/lib/slf4j-log4j12-1.5.8.jar
+        file delete ${worksrcpath}/lib/slf4j-log4j12-1.6.1.jar
         ln -s ${prefix}/share/java/slf4j-log4j12.jar ${worksrcpath}/lib/slf4j-log4j12.jar
-        reinplace "s|slf4j-log4j12-1.5.8.jar|slf4j-log4j12.jar|" ${worksrcpath}/build.xml
+        reinplace "s|slf4j-log4j12-1.6.1.jar|slf4j-log4j12.jar|" ${worksrcpath}/build.xml
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110111/4841dcc5/attachment-0001.html>


More information about the macports-changes mailing list