diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-06-05 20:30:49 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-06-05 20:30:49 +0000 |
commit | faed3a8628468b69543362f4467f23e3f1c82bb8 (patch) | |
tree | 9a34655fee7080d372348cf7a2da0d8aa8c368f7 /databases/jdbc-oracle9i | |
parent | 90166bd174a015cb48950b761801d02845bb199a (diff) |
- databases/jdbc-oracle816 has been removed from Oracle's site,
remove it;
- replace it by two new ports: databases/jdbc-oracle8i and
databases/jdbc-oracle9i.
Notes:
- databases/jdbc-oracle8i is intended for JDK 1.2 & 1.3, but
it runs fine with JDK 1.4;
- databases/jdbc-oracle9i is intended for JDK 1.4, and it can be
used to access Oracle 8i & 9i databases;
- there is another driver for Oracle 10g, but I have no 10g to
test it; could be added later.
PR: ports/81567
Submitted by: thierry
Repocopied by: marcus
Notes
Notes:
svn path=/head/; revision=136857
Diffstat (limited to 'databases/jdbc-oracle9i')
-rw-r--r-- | databases/jdbc-oracle9i/Makefile | 37 | ||||
-rw-r--r-- | databases/jdbc-oracle9i/distinfo | 5 | ||||
-rw-r--r-- | databases/jdbc-oracle9i/pkg-descr | 6 |
3 files changed, 28 insertions, 20 deletions
diff --git a/databases/jdbc-oracle9i/Makefile b/databases/jdbc-oracle9i/Makefile index 17a03df648b6..023e5bd54d96 100644 --- a/databases/jdbc-oracle9i/Makefile +++ b/databases/jdbc-oracle9i/Makefile @@ -5,37 +5,42 @@ # $FreeBSD$ # -PORTNAME= oracle816 -PORTVERSION= 1.11 +PORTNAME= oracle9i +PORTVERSION= 9.2.0.5 CATEGORIES= databases java MASTER_SITES= # none PKGNAMEPREFIX= jdbc- -DISTNAME= classes111_01. -EXTRACT_SUFX= zip +DISTFILES= ${CLASSES} ${OCRS_FILE} +DIST_SUBDIR= oracle EXTRACT_ONLY= # none -MAINTAINER= ports@FreeBSD.Org -COMMENT= The JDBC drivers for Oracle 8.1.6 +MAINTAINER= thierry@FreeBSD.Org +COMMENT= The JDBC drivers for Oracle 9i -RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11 +RESTRICTED= 'Must be downloaded direct from Oracle via www interface' +NO_CDROM= ${RESTRICTED} +NO_PACKAGE= ${RESTRICTED} -ALL_TARGET= jar +USE_JAVA= yes +JAVA_VERSION= 1.4+ -RESTRICTED= 'Must be downloaded direct from Oracle via www interface' -NO_CDROM= 'Must be downloaded direct from Oracle via www interface' -NO_PACKAGE= 'Must be downloaded direct from Oracle via www interface' NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_FILES= share/java/classes/classes111_01.zip + +CLASSES= ojdbc14.jar +OCRS_FILE= ocrs12.zip + +PLIST_FILES= %%JAVAJARDIR%%/${CLASSES} \ + %%JAVAJARDIR%%/${OCRS_FILE} .include <bsd.port.pre.mk> -.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) -IGNORE="Please manually download ${DISTNAME}${EXTRACT_SUFX} from http://technet.oracle.com/software/tech/java/sqlj_jdbc/software_index.htm Oracle8i 8.1.6.0.1 JDBC Drivers for use with JDK 1.1.x, JDBC-Thin 100% Java. Put ${DISTNAME}${EXTRACT_SUFX} into the directory ${_DISTDIR} and run make again." +.if !exists(${CLASSES:S|^|${_DISTDIR}/|}}) \ + && !exists(${OCRS_FILE:S|^|${_DISTDIR}/|}) +IGNORE="Please manually download ${DISTFILES} from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html Oracle9i ${PORTVERSION} JDBC Drivers for use with JDK 1.4 \(JDBC classes + Additional RowSet support\). Put ${DISTFILES} into the directory ${_DISTDIR} and run make again." .endif do-install: - @${MKDIR} ${PREFIX}/share/java/classes - @${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${LOCALBASE}/share/java/classes + ${INSTALL_DATA} ${DISTFILES:S|^|${_DISTDIR}/|} ${JAVAJARDIR} .include <bsd.port.post.mk> diff --git a/databases/jdbc-oracle9i/distinfo b/databases/jdbc-oracle9i/distinfo index 54ca3e0cf475..ad00b6d246d5 100644 --- a/databases/jdbc-oracle9i/distinfo +++ b/databases/jdbc-oracle9i/distinfo @@ -1 +1,4 @@ -MD5 (classes111_01.zip) = ca3c45844a5d6f05841fa28f6320374c +MD5 (oracle/ojdbc14.jar) = da6c3a4718acf5253c2fd7fd02150319 +SIZE (oracle/ojdbc14.jar) = 1200046 +MD5 (oracle/ocrs12.zip) = d9407f784d0e0b56313f229d74b7c147 +SIZE (oracle/ocrs12.zip) = 37194 diff --git a/databases/jdbc-oracle9i/pkg-descr b/databases/jdbc-oracle9i/pkg-descr index 9b7c7c510daf..c2dffc9dc9a6 100644 --- a/databases/jdbc-oracle9i/pkg-descr +++ b/databases/jdbc-oracle9i/pkg-descr @@ -1,6 +1,6 @@ -This is a port of the JDBC driver which is used to access Oracle -databases using a database-independant API in Java. +This is a port of the JDBC driver which is used to access Oracle 9i +databases using a database-independant API in Java for use with JDK 1.4. -WWW: http://technet.oracle.com/tech/java/sqlj_jdbc/content.html +WWW: http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html patrick@freebsd.org |