[92515] trunk/dports/java/hibernate3/Portfile
raimue at macports.org
raimue at macports.org
Mon Apr 30 11:54:01 PDT 2012
Revision: 92515
https://trac.macports.org/changeset/92515
Author: raimue at macports.org
Date: 2012-04-30 11:54:00 -0700 (Mon, 30 Apr 2012)
Log Message:
-----------
java/hibernate3:
Move all the files into hibernate3 subdirectory with symlink for compatibility
Modified Paths:
--------------
trunk/dports/java/hibernate3/Portfile
Modified: trunk/dports/java/hibernate3/Portfile
===================================================================
--- 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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120430/03a1acd2/attachment.html>
More information about the macports-changes
mailing list