summaryrefslogtreecommitdiff
path: root/databases/mysql-connector-java50
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-connector-java50')
-rw-r--r--databases/mysql-connector-java50/Makefile99
-rw-r--r--databases/mysql-connector-java50/distinfo2
-rw-r--r--databases/mysql-connector-java50/files/patch-build.xml30
-rw-r--r--databases/mysql-connector-java50/pkg-descr14
4 files changed, 0 insertions, 145 deletions
diff --git a/databases/mysql-connector-java50/Makefile b/databases/mysql-connector-java50/Makefile
deleted file mode 100644
index b08afee342bf..000000000000
--- a/databases/mysql-connector-java50/Makefile
+++ /dev/null
@@ -1,99 +0,0 @@
-# New ports collection makefile for: mysql-connector-java
-# Date created: 8 October 2003
-# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mysql-connector-java
-PORTVERSION= 3.1.10
-CATEGORIES= databases java
-MASTER_SITES= ${MASTER_SITE_MYSQL}
-MASTER_SITE_SUBDIR= Connector-J
-
-MAINTAINER= m.seaman@infracaninophile.co.uk
-COMMENT= MySQL Connector/J: JDBC interface for MySQL
-
-RUN_DEPENDS= ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
-
-.if !defined(WITHOUT_COMPILE)
-
-BUILD_DEPENDS= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
- ${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
-
-USE_JAVA= yes
-USE_ANT= yes
-JAVA_VERSION= 1.4+
-ALL_TARGET= clean dist
-MAKE_ARGS= -Djavalibdir=${JAVALIBDIR}
-BUILDDIR= ${WRKDIR}/${DISTNAME}/build/${DISTNAME}
-
-.else
-
-USE_JAVA= yes
-JAVA_VERSION= 1.2+
-BUILDDIR= ${WRKDIR}/${DISTNAME}
-
-.endif
-
-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/index.html docs/connector-j-en.pdf
-JARFILE= ${DISTNAME}-bin.jar
-JDCLASSPATH= ${SRCDIR}:${SRCDIR}/lib/jdbc2_0-stdext.jar:${SRCDIR}/lib/jta-spec1_0_1.jar:${CLASSPATH}
-
-PLIST_FILES= %%JAVAJARDIR%%/jdbc2_0-stdext.jar \
- %%JAVAJARDIR%%/jta-spec1_0_1.jar \
- %%JAVAJARDIR%%/mysql-connector-java.jar
-
-.if !defined(NOPORTDOCS)
-PORTDOCS= *
-.endif
-
-pre-fetch:
- @${ECHO_MSG} ""
- @${ECHO_MSG} "You may use the following build options:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} " WITHOUT_COMPILE=yes Install the pre-compiled .jar file"
- @${ECHO_MSG} ""
- @${ECHO_MSG} "This port requires JDK 1.4.x or better to compile, but the"
- @${ECHO_MSG} "JDBC driver will operate with JVM 1.2.x or better"
- @${ECHO_MSG} ""
-
-.if !defined(WITHOUT_COMPILE)
-post-build:
-.else
-do-build:
-.endif
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${JAVADOCDIR} && (cd ${SRCDIR}; \
- ${JAVADOC} -d ${JAVADOCDIR} -package \
- -classpath ${JDCLASSPATH} \
- com.mysql.jdbc org.gjt.mm.mysql)
-.endif
-
-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:
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @${MKDIR} ${APIDOCSDIR}
- @${CP} -r ${JAVADOCDIR}/* ${APIDOCSDIR}
- @for extradoc in ${EXTRADOCS} ; do \
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/$$extradoc ${DOCSDIR} ; \
- done
- @${ECHO_MSG} " [ DONE ]"
-.endif
-
-.include <bsd.port.mk>
diff --git a/databases/mysql-connector-java50/distinfo b/databases/mysql-connector-java50/distinfo
deleted file mode 100644
index e72ff679ed63..000000000000
--- a/databases/mysql-connector-java50/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (mysql-connector-java-3.1.10.tar.gz) = 337f7f31e726fb615d3f4f062030d1b5
-SIZE (mysql-connector-java-3.1.10.tar.gz) = 6892037
diff --git a/databases/mysql-connector-java50/files/patch-build.xml b/databases/mysql-connector-java50/files/patch-build.xml
deleted file mode 100644
index 1d840e51502e..000000000000
--- a/databases/mysql-connector-java50/files/patch-build.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-$FreeBSD$
-
---- build.xml.orig Thu Jun 23 00:29:13 2005
-+++ build.xml Tue Jul 5 23:08:11 2005
-@@ -57,12 +57,13 @@
- </path>
-
- <path id="project.build.classpath">
-- <fileset dir="${buildDir}/${fullProdName}/lib-nodist">
-+ <fileset dir="${buildDir}/${fullProdName}/lib">
- <include name="**/*.jar"/>
- </fileset>
-
-- <fileset dir="${buildDir}/${fullProdName}/lib">
-- <include name="**/*.jar"/>
-+ <fileset dir="${javalibdir}">
-+ <include name="junit.jar"/>
-+ <include name="log4j.jar"/>
- </fileset>
-
- <pathelement location="${buildDir}/${fullProdName}" />
-@@ -253,7 +254,7 @@
- includes="**/*.class,**/*.properties*,COPYING,README"
- excludes="testsuite/**"
- index="true"
-- manifest="${buildDir}/MANIFEST.MF"/>
-+ manifest="${buildDir}/META-INF/MANIFEST.MF"/>
- </target>
-
- <target name="dist-trace" depends="init, compile-driver-trace">
diff --git a/databases/mysql-connector-java50/pkg-descr b/databases/mysql-connector-java50/pkg-descr
deleted file mode 100644
index 6bc621760cea..000000000000
--- a/databases/mysql-connector-java50/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-
-MySQL Connector/J is a native Java driver that converts JDBC (Java
-Database Connectivity) calls into the network protocol used by the
-MySQL database. It lets developers working with the Java programming
-language easily build programs and applets that interact with MySQL
-and connect all corporate data, even in a heterogeneous
-environment. MySQL Connector/J is a Type IV JDBC driver and has a
-complete JDBC feature set that supports the capabilities of MySQL.
-
-This port is derived from the original databases/mysql-jdbc-mm port of
-the mm.mysql JDBC connector by dglo@ssec.wisc.edu.
-
-WWW: http://www.mysql.com/products/connector-j/index.html
-- m.seaman@infracaninophile.co.uk