source: trunk/dports/java/javasqlite/Portfile

Last change on this file was 112073, checked in by jmr@…, 4 years ago

javasqlite: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 112073 2013-10-11 04:32:19Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                            javasqlite
6version                         20100131
7categories                      java databases
8license                         Tcl/Tk
9platforms                       darwin
10
11maintainers                     nomaintainer
12description                     Java wrapper for sqlite
13long_description        Java wrapper including a basic JDBC driver for the SQLite \
14                                        2/3 database engine. It is designed using JNI to \
15                                        interface to the SQLite API.
16homepage                        http://www.ch-werner.de/javasqlite/
17master_sites            ${homepage}
18
19checksums                       md5     aa0c89534045f08e72f7b2d9538bb164 \
20                                        sha1    7aade6951dfb0b94368e8e5d6ac4e12d1a904899 \
21                                        rmd160  447252c09af76968bf76bf086eb58a946e855199
22
23patchfiles                      patch-configure
24
25depends_lib                     port:sqlite2 \
26                                        port:sqlite3
27
28universal_variant       no
29
30configure.args-append   --with-jardir=${prefix}/share/java/ \
31                                                --with-sqlite=${prefix} \
32                                                --with-sqlite3=${prefix}
33
34test.run                        yes
35post-test {
36        # This test function could be improved. We probably want a diff method
37        # in base/
38        system "cd ${worksrcpath} && java test > ${worksrcpath}/test.output 2>&1"
39        system "exit `diff ${filespath}/test.output ${worksrcpath}/test.output | wc -l`"
40}
41
42platform darwin {
43        patchfiles-append patch-Makefile.in-jnilib
44}
45
46livecheck.url   ${homepage}overview-summary.html
47livecheck.type  regexm
48livecheck.regex {<H1>\s+SQLite Java Wrapper/JDBC Driver\s+<br><small>\s+(.*)\s+</small>\s+</H1>}
49livecheck.version       [regsub {(....)(..)(..)} ${version} {\1-\2-\3}]
Note: See TracBrowser for help on using the repository browser.