summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/jdbc-oracle10g/Makefile49
-rw-r--r--databases/jdbc-oracle10g/distinfo2
-rw-r--r--databases/jdbc-oracle10g/pkg-descr4
4 files changed, 56 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 3cb6221c8416..fd978b26f671 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -123,6 +123,7 @@
SUBDIR += jdb
SUBDIR += jdbc-oracle8i
SUBDIR += jdbc-oracle9i
+ SUBDIR += jdbc-oracle10g
SUBDIR += jdbm2
SUBDIR += jrobin
SUBDIR += jrrd
diff --git a/databases/jdbc-oracle10g/Makefile b/databases/jdbc-oracle10g/Makefile
new file mode 100644
index 000000000000..5152b2275207
--- /dev/null
+++ b/databases/jdbc-oracle10g/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: jdbc-oracle10g
+# Date created: 19 March 2012
+# Whom: José García Juanino <jjuanino@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= oracle10g
+PORTVERSION= 10.2.0.5
+CATEGORIES= databases java
+MASTER_SITES= # http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html
+PKGNAMEPREFIX= jdbc-
+DISTNAME= ojdbc14.jar
+EXTRACT_SUFX= # none
+DIST_SUBDIR= oracle10g
+
+MAINTAINER= jjuanino@gmail.com
+COMMENT= The JDBC drivers for Oracle 10g
+
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+
+NO_BUILD= yes
+
+RESTRICTED= Packaging prohibited by Oracle license
+NO_CDROM= Packaging prohibited by Oracle license
+
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= %%JAVAJARDIR%%/ojdbc-${PORTVERSION}.jar
+
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES})
+IGNORE= due to Oracle license restrictions, you must fetch the source\
+distribution manually. Please access\
+http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html\
+(Oracle Database 10g Release 2 (${PORTVERSION} JDBC Drivers) with a web\
+browser and follow the link for the ${DISTFILES}. You will be required to\
+register and log in, but you can create an account on that page. After\
+registration and accepting the Oracle License, download the distribution\
+file, ${DISTFILES}, place into ${DISTDIR}/${DIST_SUBDIR}, and restart this\
+installation
+.endif
+
+do-install:
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${JAVAJARDIR}/ojdbc-${PORTVERSION}.jar
+
+.include <bsd.port.post.mk>
diff --git a/databases/jdbc-oracle10g/distinfo b/databases/jdbc-oracle10g/distinfo
new file mode 100644
index 000000000000..4aea8df3ee05
--- /dev/null
+++ b/databases/jdbc-oracle10g/distinfo
@@ -0,0 +1,2 @@
+SHA256 (oracle10g/ojdbc14.jar) = 94aed57a98dc5ed77c78a39c47dc8d8ec3ad3ca5e571a4cf4851fe9f96cf3738
+SIZE (oracle10g/ojdbc14.jar) = 1569316
diff --git a/databases/jdbc-oracle10g/pkg-descr b/databases/jdbc-oracle10g/pkg-descr
new file mode 100644
index 000000000000..15534576373e
--- /dev/null
+++ b/databases/jdbc-oracle10g/pkg-descr
@@ -0,0 +1,4 @@
+This is a port of the JDBC driver which is used to access Oracle 10g databases
+using a database-independant API in Java for use with JDK 1.5.
+
+WWW: http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html