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

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

Add openmaintainer to my ports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 24558 2007-04-28 04:00:37Z jberry@macports.org $
2
3PortSystem 1.0
4
5name                            mysql-connector-java
6version                         5.0.4
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 fac72ed39a0533e2b0632495902fd3f1
25
26patchfiles                      patch-build.xml
27
28depends_build           bin:ant:apache-ant
29depends_lib                     bin:java:kaffe \
30                                        port:junit \
31                                        port:jakarta-log4j
32
33
34set javaLibs            ${prefix}/share/java
35
36use_configure           no
37
38build.cmd                       ant
39build.target            dist
40build.args                      -Djunit.jar=${javaLibs}/junit.jar \
41                                        -Dlog4j.jar=${javaLibs}/jakarta-log4j.jar                                       
42
43destroot {
44        xinstall -m 755 -d ${destroot}${prefix}/share/java \
45                ${destroot}${prefix}/share/doc
46        xinstall -m 644 ${worksrcpath}/build/${distname}/${distname}-bin.jar \
47                ${destroot}${prefix}/share/java/${name}-5.0.jar
48        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
49}
Note: See TracBrowser for help on using the repository browser.