source: trunk/dports/java/javasqlite/Portfile @ 66262

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

javasqlite: update to 20100131 (see #19945) and turn off universal variant which doesn't produce universal software

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