a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 21973 2007-02-12 22:09:23Z jmpp@macports.org $
PortSystem 1.0
name hibernate3
version 3.2.1.ga
categories java databases
maintainers jberry@macports.org
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 33bc43dd2d79b78f39a9d5117ecebc73
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}
}