Changeset 76428


Ignore:
Timestamp:
Feb 23, 2011, 12:00:13 AM (8 years ago)
Author:
ryandesign@…
Message:

hibernate3: update to 3.6.1.Final, add license, indicate this is noarch, install the pre-built jars instead of trying to build them ourselves, since documentation on building it is hard to find and the process seems to change often; fixes build error in #26828

File:
1 edited

Legend:

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

    r76415 r76428  
    55
    66name                hibernate3
    7 version             3.2.5.ga
     7version             3.6.1.Final
    88categories          java databases
    99platforms           darwin
    1010maintainers         nomaintainer
     11supported_archs     noarch
     12license             LGPL-2.1
    1113
    1214description         Hibernate ORM for Java.
     
    2426homepage            http://www.hibernate.org/
    2527master_sites        sourceforge:hibernate
    26 distname            hibernate-${version}
     28distname            hibernate-distribution-${version}
     29extract.suffix      -dist.tar.gz
    2730
    28 checksums           md5     1542d795a2bdbcc21c47c128c80fe14b
    29 
    30 depends_build       bin:java:kaffe \
    31                     bin:ant:apache-ant \
    32                     bin:antlr:antlr \
    33                     port:junit
     31checksums           sha1    72fe1ddc330952fe6271d89a9780a50b46e4fff6 \
     32                    rmd160  f687ea6f635bb7ceafcb8af75d0125fb6d7ecd7b
    3433
    3534use_configure       no
    3635
    37 worksrcdir          hibernate-3.2
    38 
    39 build.cmd           ant
    40 build.target        jar
    41 build.args
    42 build.env           CLASSPATH=${prefix}/share/java/junit.jar:${prefix}/share/java/antlr.jar
     36build {}
    4337
    4438destroot {
     
    4943    # Install the jar
    5044    xinstall -m 644 \
    51         ${worksrcpath}/build/${name}.jar \
    52         ${worksrcpath}/build/${name}-client.jar \
     45        ${worksrcpath}/${name}.jar \
     46        ${worksrcpath}/hibernate-testing.jar \
    5347        ${destroot}${prefix}/share/java
    5448   
    5549    # Install the docs
    56     file copy ${worksrcpath}/doc \
     50    file copy ${worksrcpath}/documentation \
    5751        ${destroot}${prefix}/share/doc/${name}
    5852}
Note: See TracChangeset for help on using the changeset viewer.