Ticket #34251: Portfile

File Portfile, 2.0 KB (added by bgrupe27, 12 years ago)

new Portfile

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 $
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        ${destroot}${prefix}/share/java/${name}
43   
44    # Install the libs
45    file copy ${worksrcpath}/lib \
46        ${destroot}${prefix}/share/java/${name}
47
48    # Install the docs
49    file copy ${worksrcpath}/documentation \
50        ${destroot}${prefix}/share/doc/${name}
51}
52
53livecheck.type      sourceforge
54livecheck.name      hibernate
55livecheck.distname  ${name}