[76428] trunk/dports/java/hibernate3/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Feb 22 16:00:15 PST 2011


Revision: 76428
          http://trac.macports.org/changeset/76428
Author:   ryandesign at macports.org
Date:     2011-02-22 16:00:13 -0800 (Tue, 22 Feb 2011)
Log Message:
-----------
hibernate3: update to 3.6.1.Final, add license, indicate this is noarch, install the pre-built jars instead of trying to build them ourselves, since documentation on building it is hard to find and the process seems to change often; fixes build error in #26828

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

Modified: trunk/dports/java/hibernate3/Portfile
===================================================================
--- trunk/dports/java/hibernate3/Portfile	2011-02-22 23:42:11 UTC (rev 76427)
+++ trunk/dports/java/hibernate3/Portfile	2011-02-23 00:00:13 UTC (rev 76428)
@@ -4,10 +4,12 @@
 PortSystem          1.0
 
 name                hibernate3
-version             3.2.5.ga
+version             3.6.1.Final
 categories          java databases
 platforms           darwin
 maintainers         nomaintainer
+supported_archs     noarch
+license             LGPL-2.1
 
 description         Hibernate ORM for Java.
 
@@ -23,24 +25,16 @@
 
 homepage            http://www.hibernate.org/
 master_sites        sourceforge:hibernate
-distname            hibernate-${version}
+distname            hibernate-distribution-${version}
+extract.suffix      -dist.tar.gz
 
-checksums           md5     1542d795a2bdbcc21c47c128c80fe14b
+checksums           sha1    72fe1ddc330952fe6271d89a9780a50b46e4fff6 \
+                    rmd160  f687ea6f635bb7ceafcb8af75d0125fb6d7ecd7b
 
-depends_build       bin:java:kaffe \
-                    bin:ant:apache-ant \
-                    bin:antlr:antlr \
-                    port:junit
-
 use_configure       no
 
-worksrcdir          hibernate-3.2
+build {}
 
-build.cmd           ant
-build.target        jar
-build.args
-build.env           CLASSPATH=${prefix}/share/java/junit.jar:${prefix}/share/java/antlr.jar
-
 destroot {
     # Ensure needed directories
     xinstall -m 755 -d ${destroot}${prefix}/share/java \
@@ -48,12 +42,12 @@
     
     # Install the jar
     xinstall -m 644 \
-        ${worksrcpath}/build/${name}.jar \
-        ${worksrcpath}/build/${name}-client.jar \
+        ${worksrcpath}/${name}.jar \
+        ${worksrcpath}/hibernate-testing.jar \
         ${destroot}${prefix}/share/java
     
     # Install the docs
-    file copy ${worksrcpath}/doc \
+    file copy ${worksrcpath}/documentation \
         ${destroot}${prefix}/share/doc/${name}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110222/d83d5ae0/attachment-0001.html>


More information about the macports-changes mailing list