source: trunk/dports/java/log4jdbc/Portfile

Last change on this file was 57375, checked in by ryandesign@…, 8 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.1 KB
Line 
1# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    log4jdbc
6version                 1.1
7
8categories              java
9maintainers             blair
10platforms               darwin
11
12description             JDBC driver that can log SQL and/or JDBC calls
13long_description        Log4jdbc is a Java JDBC driver that can log SQL \
14                        and/or JDBC calls (and optionally SQL timing \
15                        information) for other JDBC drivers using the \
16                        Simple Logging Facade For Java (SLF4J) logging \                                system.
17homepage                http://log4jdbc.sourceforge.net/
18
19master_sites            sourceforge
20use_zip                 yes
21checksums               md5 50ac9cb62a9bb05d001f0a670fc043f1 \
22                        sha1 c8311c87e96d90b54615428be7d11539d8900c84 \
23                        rmd160 64282b67b4b87f979711495690c7b60044367716
24
25depends_lib             bin:java:kaffe \
26                        port:slf4j
27
28use_configure           no
29
30build.cmd               true
31
32destroot {
33        # Ensure needed directories
34        xinstall -m 755 -d ${destroot}${prefix}/share/java \
35                ${destroot}${prefix}/share/doc/
36
37        foreach f { 3 4 } {
38                file copy ${worksrcpath}/build/${name}${f}-${version}.jar \
39                        ${destroot}${prefix}/share/java/${name}${f}.jar
40        }
41
42        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
43}
44
45livecheck.type          sourceforge
46livecheck.name          ${name}
Note: See TracBrowser for help on using the repository browser.