Modified: trunk/dports/java/hibernate3/Portfile (92514 => 92515)
--- trunk/dports/java/hibernate3/Portfile 2012-04-30 18:39:57 UTC (rev 92514)
+++ trunk/dports/java/hibernate3/Portfile 2012-04-30 18:54:00 UTC (rev 92515)
@@ -5,6 +5,7 @@
name hibernate3
version 3.6.10.Final
+revision 1
categories java databases
platforms darwin
maintainers nomaintainer
@@ -38,19 +39,21 @@
destroot {
# Ensure needed directories
xinstall -m 755 -d ${destroot}${prefix}/share/java \
- ${destroot}${prefix}/share/doc \
+ ${destroot}${prefix}/share/doc
+
+ # Install the libs
+ file copy ${worksrcpath}/lib \
${destroot}${prefix}/share/java/${name}
# Install the jar
xinstall -m 644 \
${worksrcpath}/${name}.jar \
${worksrcpath}/hibernate-testing.jar \
- ${destroot}${prefix}/share/java
-
- # Install the libs
- file copy ${worksrcpath}/lib \
${destroot}${prefix}/share/java/${name}
+ # Symlink for compatibility with previous port version
+ ln -s ${name}/${name}.jar ${destroot}${prefix}/share/java
+
# Install the docs
file copy ${worksrcpath}/documentation \
${destroot}${prefix}/share/doc/${name}