source: trunk/dports/java/mysql-connector-java/Portfile @ 28601

Last change on this file since 28601 was 28601, checked in by simon@…, 13 years ago

java/mysql-connector-java: Updated to version 5.0.7 to fix download failure, closes #12452. Thanks to Scott Harper for reporting the update works.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 28601 2007-09-04 15:13:44Z simon@macports.org $
2
3PortSystem 1.0
4
5name                            mysql-connector-java
6version                         5.0.7
7
8categories                      java
9maintainers                     jberry@macports.org openmaintainer@macports.org
10platforms                       darwin
11
12description                     MySQL Official JDBC connector for MySQL database.
13long_description        MySQL Connector/J is a native Java driver that converts JDBC \
14                                        (Java Database Connectivity) calls into the network protocol \
15                                        used by the MySQL database. It lets developers working with \
16                                        the Java programming language easily build programs and applets \
17                                        that interact with MySQL and connect all corporate data, even \
18                                        in a heterogeneous environment. MySQL Connector/J is a Type IV \
19                                        JDBC driver and has a complete JDBC feature set that supports \
20                                        the capabilities of MySQL.
21homepage                        http://dev.mysql.com/doc/refman/5.0/en/connector-j.html
22
23master_sites            http://ftp.plusline.de/mysql/Downloads/Connector-J/
24checksums                       md5 d177ce7397b119f013458cec0418ad2d \
25                                sha1 df3b78d1108f89485fb8c9711ee39c376d0391eb \
26                                rmd160 eae7454d156c7726ab2e96017e8b6f4fe0c61ab9
27
28patchfiles                      patch-build.xml
29
30depends_build           bin:ant:apache-ant
31depends_lib                     bin:java:kaffe \
32                                        port:junit \
33                                        port:jakarta-log4j
34
35
36set javaLibs            ${prefix}/share/java
37
38use_configure           no
39
40build.cmd                       ant
41build.target            dist
42build.args                      -Djunit.jar=${javaLibs}/junit.jar \
43                                        -Dlog4j.jar=${javaLibs}/jakarta-log4j.jar                                       
44
45destroot {
46        xinstall -m 755 -d ${destroot}${prefix}/share/java \
47                ${destroot}${prefix}/share/doc
48        xinstall -m 644 ${worksrcpath}/build/${distname}/${distname}-bin.jar \
49                ${destroot}${prefix}/share/java/${name}-5.0.jar
50        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
51}
Note: See TracBrowser for help on using the repository browser.