Changeset 92515 for trunk/dports/java


Ignore:
Timestamp:
Apr 30, 2012, 6:54:00 PM (7 years ago)
Author:
raimue@…
Message:

java/hibernate3:
Move all the files into hibernate3 subdirectory with symlink for compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/hibernate3/Portfile

    r92514 r92515  
    66name                hibernate3
    77version             3.6.10.Final
     8revision            1
    89categories          java databases
    910platforms           darwin
     
    3940    # Ensure needed directories
    4041    xinstall -m 755 -d ${destroot}${prefix}/share/java \
    41         ${destroot}${prefix}/share/doc \
     42        ${destroot}${prefix}/share/doc
     43
     44    # Install the libs
     45    file copy ${worksrcpath}/lib \
    4246        ${destroot}${prefix}/share/java/${name}
    4347
     
    4650        ${worksrcpath}/${name}.jar \
    4751        ${worksrcpath}/hibernate-testing.jar \
    48         ${destroot}${prefix}/share/java
     52        ${destroot}${prefix}/share/java/${name}
    4953
    50     # Install the libs
    51     file copy ${worksrcpath}/lib \
    52         ${destroot}${prefix}/share/java/${name}
     54    # Symlink for compatibility with previous port version
     55    ln -s ${name}/${name}.jar ${destroot}${prefix}/share/java
    5356
    5457    # Install the docs
Note: See TracChangeset for help on using the changeset viewer.