aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql-connector-java
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-25 08:54:37 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-25 08:54:37 +0000
commitabe408e841b0f434b640adce21d8ff52177307c1 (patch)
treef7fa0e11aa5cd515e3c2d2b6350a0c9354b5bed4 /databases/mysql-connector-java
parentab9b313b0057cb05590dbbc21ab96dafb9eac5d9 (diff)
downloadports-abe408e841b0f434b640adce21d8ff52177307c1.tar.gz
ports-abe408e841b0f434b640adce21d8ff52177307c1.zip
Notes
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r--databases/mysql-connector-java/Makefile23
-rw-r--r--databases/mysql-connector-java/distinfo6
2 files changed, 8 insertions, 21 deletions
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index 09edc4ae7070..65ca0f0dfe73 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mysql-connector-java
-PORTVERSION= 5.1.10
+PORTVERSION= 5.1.11
CATEGORIES= databases java
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= Connector-J
@@ -14,10 +14,10 @@ MASTER_SITE_SUBDIR= Connector-J
MAINTAINER= m.seaman@infracaninophile.co.uk
COMMENT= MySQL Connector/J: JDBC interface for MySQL
-CONFLICTS= mysql-connector-java*-5.0.*
-
RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
+CONFLICTS= mysql-connector-java*-5.0.*
+
USE_JAVA= yes
JAVA_VERSION= 1.3+
BUILDDIR= ${WRKDIR}/${DISTNAME}
@@ -25,26 +25,16 @@ APIDOCSDIR= ${DOCSDIR}/javadoc
SRCDIR= ${WRKDIR}/${DISTNAME}/src
JAVADOCDIR= ${WRKDIR}/${DISTNAME}/javadoc
DESTJARFILE= ${PORTNAME}.jar
-EXTRAJARS= jdbc2_0-stdext.jar jta-spec1_0_1.jar
EXTRADOCS= README CHANGES docs/connector-j.html docs/connector-j.pdf
JARFILE= ${DISTNAME}-bin.jar
-JDCLASSPATH= ${SRCDIR}:${SRCDIR}/lib/jdbc2_0-stdext.jar:${SRCDIR}/lib/jta-spec1_0_1.jar:${CLASSPATH}
+JDCLASSPATH= ${SRCDIR}:${CLASSPATH}
-PLIST_FILES= %%JAVAJARDIR%%/jdbc2_0-stdext.jar \
- %%JAVAJARDIR%%/jta-spec1_0_1.jar \
- %%JAVAJARDIR%%/${DESTJARFILE}
+PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE}
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
-pre-fetch:
- @${ECHO_MSG} ""
- @${ECHO_MSG} "Note: this port now installs the pre-compiled driver without"
- @${ECHO_MSG} "the option of compiling from source, because compilation requires"
- @${ECHO_MSG} "a mix of Java-5 and Java-6 that is not supported by bsd.java.mk"
- @${ECHO_MSG} ""
-
do-build:
.if !defined(NOPORTDOCS)
@${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \
@@ -59,9 +49,6 @@ do-install: do-install-jar do-install-apidocs
do-install-jar:
@${ECHO_MSG} -n ">> Installing .jar files..."
@${INSTALL_DATA} ${BUILDDIR}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
- @for extrajar in ${EXTRAJARS} ; do \
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/src/lib/$$extrajar ${JAVAJARDIR} ; \
- done
@${ECHO_MSG} " [ DONE ]"
do-install-apidocs:
diff --git a/databases/mysql-connector-java/distinfo b/databases/mysql-connector-java/distinfo
index 5ac6c2fd105e..19442027573d 100644
--- a/databases/mysql-connector-java/distinfo
+++ b/databases/mysql-connector-java/distinfo
@@ -1,3 +1,3 @@
-MD5 (mysql-connector-java-5.1.10.tar.gz) = f9da616de868ddd1acf1428334f3313d
-SHA256 (mysql-connector-java-5.1.10.tar.gz) = d156857f85737d7cca5d8ab9ba77e2809756c94b2e9a40bc333e08a00da8e1e8
-SIZE (mysql-connector-java-5.1.10.tar.gz) = 3666173
+MD5 (mysql-connector-java-5.1.11.tar.gz) = 22630172e67c1a96996c3201d9b30398
+SHA256 (mysql-connector-java-5.1.11.tar.gz) = ad1522b5d35cd3c599008c3e5f5297797def115c310c3b66b4a07eed8ace14a7
+SIZE (mysql-connector-java-5.1.11.tar.gz) = 3735062