Revision: 92515 https://trac.macports.org/changeset/92515 Author: raimue@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}
participants (1)
-
raimue@macports.org