freebsd-ports/databases/jdbc-oracle9i/Makefile
Thierry Thomas faed3a8628 - 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
2005-06-05 20:30:49 +00:00

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: The Oracle 8.1.6 JDBC Drivers
# Date created: 2 January 2000
# Whom: Patrick Gardella <patrick@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= oracle9i
PORTVERSION= 9.2.0.5
CATEGORIES= databases java
MASTER_SITES= # none
PKGNAMEPREFIX= jdbc-
DISTFILES= ${CLASSES} ${OCRS_FILE}
DIST_SUBDIR= oracle
EXTRACT_ONLY= # none
MAINTAINER= thierry@FreeBSD.Org
COMMENT= The JDBC drivers for Oracle 9i
RESTRICTED= 'Must be downloaded direct from Oracle via www interface'
NO_CDROM= ${RESTRICTED}
NO_PACKAGE= ${RESTRICTED}
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
NO_WRKSUBDIR= yes
CLASSES= ojdbc14.jar
OCRS_FILE= ocrs12.zip
PLIST_FILES= %%JAVAJARDIR%%/${CLASSES} \
%%JAVAJARDIR%%/${OCRS_FILE}
.include <bsd.port.pre.mk>
.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:
${INSTALL_DATA} ${DISTFILES:S|^|${_DISTDIR}/|} ${JAVAJARDIR}
.include <bsd.port.post.mk>