[62304] trunk/dports/java/xom

nox at macports.org nox at macports.org
Sun Jan 3 06:41:17 PST 2010


Revision: 62304
          http://trac.macports.org/changeset/62304
Author:   nox at macports.org
Date:     2010-01-03 06:41:16 -0800 (Sun, 03 Jan 2010)
Log Message:
-----------
Update xom to 1.2.4

Modified Paths:
--------------
    trunk/dports/java/xom/Portfile

Added Paths:
-----------
    trunk/dports/java/xom/files/
    trunk/dports/java/xom/files/patch-build.xml.diff

Modified: trunk/dports/java/xom/Portfile
===================================================================
--- trunk/dports/java/xom/Portfile	2010-01-03 14:41:00 UTC (rev 62303)
+++ trunk/dports/java/xom/Portfile	2010-01-03 14:41:16 UTC (rev 62304)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name				xom
-version				1.0
+version				1.2.4
 
 categories			java devel textproc
 platforms			darwin
@@ -16,21 +16,27 @@
 homepage			http://www.xom.nu/
 
 master_sites		http://www.cafeconleche.org/XOM/
-checksums			md5 af472e90685eef0ac1e731eb84a49763
 
+checksums           md5     f226cdce8e799ba1e36d5e57ff58e826 \
+                    sha1    fc57de2fed7b6d950b2d4fde3c1ffbc08fc07cf2 \
+                    rmd160  936e7da6fabbd7afb9fc0a0adaecd404263dbdf6
+
 depends_build		bin:ant:apache-ant
 depends_lib			bin:java:kaffe
 
 worksrcdir			XOM
+
+patchfiles          patch-build.xml.diff
+
 use_configure		no
 
 build.cmd			ant
 build.target		jar javadoc
 build.env			""
-build.args			""
+build.args			-Djaxen.dir=${prefix}/share/java/jaxen.jar
 
 destroot {
-	xinstall -m 755 -d ${destroot}${prefix}/share/java \
+	xinstall -d ${destroot}${prefix}/share/java \
 		${destroot}${prefix}/share/doc
 	xinstall -m 644 ${worksrcpath}/build/xom-${version}.jar \
 		${destroot}${prefix}/share/java/xom.jar

Added: trunk/dports/java/xom/files/patch-build.xml.diff
===================================================================
--- trunk/dports/java/xom/files/patch-build.xml.diff	                        (rev 0)
+++ trunk/dports/java/xom/files/patch-build.xml.diff	2010-01-03 14:41:16 UTC (rev 62304)
@@ -0,0 +1,22 @@
+--- build.xml.orig	2010-01-03 15:28:32.000000000 +0100
++++ build.xml	2010-01-03 15:28:57.000000000 +0100
+@@ -209,7 +209,7 @@
+   </target>
+ 
+ 
+-  <target name="compile-core" depends="prepare, compile-jaxen" 
++  <target name="compile-core" depends="prepare" 
+           description="Compile the source code">
+     <javac srcdir="${build.src}"
+            destdir="${build.dest}"
+@@ -323,10 +323,6 @@
+          includes="nu/xom/* nu/xom/xslt/* nu/xom/xinclude/* nu/xom/converters/* nu/xom/canonical/* nu/xom/tests/XOMTestCase.class"
+          excludes="nu/xom/samples/* nu/xom/benchmarks/* nu/xom/pantry/* nu/xom/tools/*">
+ 
+-      <fileset dir="${jaxen.dir}"
+-         excludes="**Demo.class **/package.html org/jaxen/xom/** org/jaxen/XPathTestBase.class org/jaxen/jdom/** org/jaxen/dom4j/** org/jaxen/javabean/** org/jaxen/dom/** org/jaxen/**Test.class org/jaxen/saxpath/base/**Test.class org/jaxen/saxpath/helpers/**Test.class org/jaxen/saxpath/helpers/**Test.class org/jaxen/pattern/** org/jaxen/saxpath/SAXPathParseException.class org/jaxen/pattern/PriorityTest.class">
+-      </fileset>
+-    
+       <rule pattern="org.jaxen.**" result="nu.xom.jaxen. at 1"/>
+ 
+       <manifest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100103/78e872d9/attachment.html>


More information about the macports-changes mailing list