# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $ PortSystem 1.0 name hibernate3 version 3.2.5.ga categories java databases maintainers jberry openmaintainer platforms darwin description Hibernate ORM for Java. long_description Hibernate is a powerful, ultra-high performance object/relational \ persistence and query service for Java. Hibernate lets you develop \ persistent classes following common Java idiom - including association, \ inheritance, polymorphism, composition and the Java collections framework. \ The Hibernate Query Language, designed as a "minimal" object-oriented \ extension to SQL, provides an elegant bridge between the object and \ relational worlds. Hibernate also allows you to express queries using \ native SQL or Java-based Criteria and Example queries. Hibernate is \ now the most popular object/relational mapping solution for Java. homepage http://www.hibernate.org/ distname hibernate-${version} master_sites sourceforge:hibernate checksums md5 1542d795a2bdbcc21c47c128c80fe14b depends_build bin:java:kaffe \ bin:ant:apache-ant \ bin:antlr:antlr \ port:junit use_configure no worksrcdir hibernate-3.2 build.cmd ant build.target jar build.args build.env CLASSPATH=${prefix}/share/java/junit.jar:${prefix}/share/java/antlr.jar destroot { # Ensure needed directories xinstall -m 755 -d ${destroot}${prefix}/share/java \ ${destroot}${prefix}/share/doc # Install the jar xinstall -m 644 \ ${worksrcpath}/build/${name}.jar \ ${worksrcpath}/build/${name}-client.jar \ ${destroot}${prefix}/share/java # Install the docs file copy ${worksrcpath}/doc \ ${destroot}${prefix}/share/doc/${name} } livecheck.type sourceforge livecheck.name hibernate livecheck.distname ${name}