source: trunk/dports/java/hibernate3/Portfile @ 76415

Last change on this file since 76415 was 76415, checked in by ryandesign@…, 10 years ago

hibernate3: whitespace changes / reformatting / add modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 76415 2011-02-22 20:56:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                hibernate3
7version             3.2.5.ga
8categories          java databases
9platforms           darwin
10maintainers         nomaintainer
11
12description         Hibernate ORM for Java.
13
14long_description    Hibernate is a powerful, ultra-high performance object/relational \
15                    persistence and query service for Java. Hibernate lets you develop \
16                    persistent classes following common Java idiom - including association, \
17                    inheritance, polymorphism, composition and the Java collections framework. \
18                    The Hibernate Query Language, designed as a "minimal" object-oriented \
19                    extension to SQL, provides an elegant bridge between the object and \
20                    relational worlds. Hibernate also allows you to express queries using \
21                    native SQL or Java-based Criteria and Example queries. Hibernate is \
22                    now the most popular object/relational mapping solution for Java.
23
24homepage            http://www.hibernate.org/
25master_sites        sourceforge:hibernate
26distname            hibernate-${version}
27
28checksums           md5     1542d795a2bdbcc21c47c128c80fe14b
29
30depends_build       bin:java:kaffe \
31                    bin:ant:apache-ant \
32                    bin:antlr:antlr \
33                    port:junit
34
35use_configure       no
36
37worksrcdir          hibernate-3.2
38
39build.cmd           ant
40build.target        jar
41build.args
42build.env           CLASSPATH=${prefix}/share/java/junit.jar:${prefix}/share/java/antlr.jar
43
44destroot {
45    # Ensure needed directories
46    xinstall -m 755 -d ${destroot}${prefix}/share/java \
47        ${destroot}${prefix}/share/doc
48   
49    # Install the jar
50    xinstall -m 644 \
51        ${worksrcpath}/build/${name}.jar \
52        ${worksrcpath}/build/${name}-client.jar \
53        ${destroot}${prefix}/share/java
54   
55    # Install the docs
56    file copy ${worksrcpath}/doc \
57        ${destroot}${prefix}/share/doc/${name}
58}
59
60livecheck.type      sourceforge
61livecheck.name      hibernate
62livecheck.distname  ${name}
Note: See TracBrowser for help on using the repository browser.