source: trunk/dports/java/hibernate4/Portfile

Last change on this file was 92518, checked in by raimue@…, 5 years ago

java/hibernate4:
New port, based on hibernate3, closes #34251

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 92518 2012-04-30 19:05:35Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                hibernate4
7version             4.1.2.Final
8categories          java databases
9platforms           darwin
10maintainers         nomaintainer
11supported_archs     noarch
12license             LGPL-2.1
13
14description         Hibernate ORM for Java.
15
16long_description    Hibernate is a powerful, ultra-high performance object/relational \
17                    persistence and query service for Java. Hibernate lets you develop \
18                    persistent classes following common Java idiom - including association, \
19                    inheritance, polymorphism, composition and the Java collections framework. \
20                    The Hibernate Query Language, designed as a "minimal" object-oriented \
21                    extension to SQL, provides an elegant bridge between the object and \
22                    relational worlds. Hibernate also allows you to express queries using \
23                    native SQL or Java-based Criteria and Example queries. Hibernate is \
24                    now the most popular object/relational mapping solution for Java.
25
26homepage            http://www.hibernate.org/
27master_sites        sourceforge:hibernate
28distname            hibernate-release-${version}
29extract.suffix      .tgz
30
31checksums           sha1    00352cfed902453b3d489ef53c6e6e4db6ab77eb \
32                    rmd160  f2842b5494b6eeac417c01c891091bfb5c6294bb
33
34use_configure       no
35
36build {}
37
38destroot {
39    # Ensure needed directories
40    xinstall -m 755 -d ${destroot}${prefix}/share/java \
41        ${destroot}${prefix}/share/doc
42
43    # Install the libs
44    file copy ${worksrcpath}/lib \
45        ${destroot}${prefix}/share/java/${name}
46
47    # Install the docs
48    file copy ${worksrcpath}/documentation \
49        ${destroot}${prefix}/share/doc/${name}
50}
51
52livecheck.type      sourceforge
53livecheck.name      hibernate
54livecheck.distname  ${name}
Note: See TracBrowser for help on using the repository browser.