a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20316 2006-11-01 22:25:06Z blair@macports.org $
PortSystem 1.0
name hibernate2
version 2.1.8
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 6a0459c511ded947d01cc7de15a518ef
depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe
use_configure no
worksrcdir hibernate-2.1
build.cmd ant
build.target jar
destroot {
# Ensure needed directories
xinstall -m 755 -d ${destroot}${prefix}/share/java \
${destroot}${prefix}/share/doc
# Install the jar
xinstall -m 644 ${workpath}/hibernate/${name}.jar \
${destroot}${prefix}/share/java
# Install the docs
file copy ${worksrcpath}/doc \
${destroot}${prefix}/share/doc/${name}
}