--- /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/hibernate3/Portfile	2011-02-23 01:00:16.000000000 +0100
+++ Portfile	2012-04-28 23:03:04.000000000 +0200
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                hibernate3
-version             3.6.1.Final
+version             3.6.10.Final
 categories          java databases
 platforms           darwin
 maintainers         nomaintainer
@@ -28,8 +28,8 @@
 distname            hibernate-distribution-${version}
 extract.suffix      -dist.tar.gz
 
-checksums           sha1    72fe1ddc330952fe6271d89a9780a50b46e4fff6 \
-                    rmd160  f687ea6f635bb7ceafcb8af75d0125fb6d7ecd7b
+checksums           sha1    cbc9d86e448cbb9eb88123ebc3ceb0e3f03a3b98 \
+                    rmd160  dc53ba018689386f2268b02d98da1523f6727ba9 
 
 use_configure       no
 
@@ -38,7 +38,8 @@
 destroot {
     # Ensure needed directories
     xinstall -m 755 -d ${destroot}${prefix}/share/java \
-        ${destroot}${prefix}/share/doc
+        ${destroot}${prefix}/share/doc \
+        ${destroot}${prefix}/share/java/${name}
     
     # Install the jar
     xinstall -m 644 \
@@ -46,6 +47,10 @@
         ${worksrcpath}/hibernate-testing.jar \
         ${destroot}${prefix}/share/java
     
+    # Install the libs
+    file copy ${worksrcpath}/lib \
+        ${destroot}${prefix}/share/java/${name}
+
     # Install the docs
     file copy ${worksrcpath}/documentation \
         ${destroot}${prefix}/share/doc/${name}
