source: trunk/dports/java/derby/Portfile

Last change on this file was 99480, checked in by blair@…, 5 years ago

derby: upgrade to 10.9.1.0.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: Portfile 99480 2012-11-07 05:59:51Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    derby
6version                 10.9.1.0
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    32d81d803fd8ce449205dda1405ef6d3 \
31                        sha1   3d9e4f7b54e28c741277a41589ff8cd6ed74a07c \
32                        sha256 2f84bcddfd54aaab08aea431c93b8bf24b731aa343434923042ef57d6c6d8b30
33
34depends_lib             bin:java:kaffe
35depends_run             port:rlwrap
36
37use_configure           no
38
39build.cmd               true
40
41destroot {
42        set sharedir ${destroot}${prefix}/share
43        set man1dir ${sharedir}/man/man1
44        set derbydir ${sharedir}/derby
45        set docderbydir ${sharedir}/doc/derby
46
47        # Ensure needed directories
48        xinstall -d -m 755 ${sharedir}/java ${docderbydir}
49
50        file copy ${worksrcpath} ${derbydir}
51
52        foreach f { dblook ij sysinfo } {
53                xinstall -m 755 ${filespath}/${f} ${destroot}${prefix}/bin/${f}
54                reinplace "s|@PREFIX@|${prefix}|" ${destroot}${prefix}/bin/${f}
55        }
56
57        foreach f { KEYS LICENSE NOTICE RELEASE-NOTES.html docs index.html javadoc } {
58                ln -s ../../derby/${f} ${docderbydir}/${f}
59        }
60
61        foreach f [ glob -tails -directory ${derbydir}/lib *.\[jw\]ar ] {
62                ln -s ../derby/lib/${f} ${sharedir}/java/${f}
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.