source: trunk/dports/java/derby/Portfile @ 57375

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

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    derby
6version                 10.5.1.1
7
8categories              java
9maintainers             blair
10platforms               darwin
11
12description             Relational database implemented entirely in Java
13long_description        Apache Derby, an Apache DB subproject, is an open \
14                        source relational database implemented entirely in \
15                        Java and available under the Apache License, Version \
16                        2.0.  Some key advantages include:  1) Derby has a \
17                        small footprint -- about 2 megabytes for the base \
18                        engine and embedded JDBC driver.  2) Derby is based \
19                        on the Java, JDBC, and SQL standards.  3) Derby \
20                        provides an embedded JDBC driver that lets you \
21                        embed Derby in any Java-based solution.  4) Derby \
22                        also supports the more familiar client/server mode \
23                        with the Derby Network Client JDBC driver and Derby \
24                        Network Server.  5) Derby is easy to install, deploy, \
25                        and use.
26homepage                http://db.apache.org/derby/
27
28master_sites            apache:db/derby/db-${name}-${version}
29distname                db-${name}-${version}-bin
30checksums               md5 62fa34609e6a5abdda2c20667d06b9e5 \
31                        sha1 5f09e51a80b80225946306bcd7985dea6d1cb42b \
32                        rmd160  6ba07921acb3f0a639ac4b905dfba1398ee00a03
33
34depends_lib             bin:java:kaffe
35
36use_configure           no
37
38build.cmd               true
39
40destroot {
41        # Ensure needed directories
42        xinstall -m 755 -d ${destroot}${prefix}/share \
43                ${destroot}${prefix}/share/doc/${name}
44
45        foreach f { dblook derby_common.sh ij sysinfo } {
46                file copy ${worksrcpath}/bin/$f ${destroot}${prefix}/bin
47        }
48
49        foreach f { KEYS LICENSE NOTICE RELEASE-NOTES.html } {
50                file copy ${worksrcpath}/$f \
51                        ${destroot}${prefix}/share/doc/${name}
52        }
53
54        file copy ${worksrcpath}/lib ${destroot}${prefix}/share/java
55}
56
57variant doc description {Install HTML and PDF documentation and javadocs} {
58        post-destroot {
59                foreach f { docs javadoc } {
60                        file copy ${worksrcpath}/$f \
61                                ${destroot}${prefix}/share/doc/${name}
62                }
63        }
64}
65
66livecheck.type          regex
67livecheck.url           "http://db.apache.org/derby/releases/?C=N;O=D"
68livecheck.regex         release-(\[0-9.\]+)\.html
Note: See TracBrowser for help on using the repository browser.