1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/databases/jdbc-oracle9i/Makefile
Mark Linimon 06e6677793 Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk.  As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no).  Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.

Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .

PR:		ports/158969
Submitted by:	rene
Tested on:	pointyhat-west -exp
2011-07-21 05:03:02 +00:00

45 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.8
CATEGORIES= databases java
MASTER_SITES= # none
PKGNAMEPREFIX= jdbc-
DISTFILES= ${CLASSES} ${OCRS_FILE}
DIST_SUBDIR= oracle9i
EXTRACT_ONLY= # none
MAINTAINER= thierry@FreeBSD.org
COMMENT= The JDBC drivers for Oracle 9i
RESTRICTED= 'Must be downloaded direct from Oracle via www interface'
USE_JAVA= yes
JAVA_VERSION= 1.5+
NO_BUILD= yes
NO_WRKSUBDIR= yes
CLASSES= ojdbc14.jar
OCRS_FILE= ocrs12.jar
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/technetwork/database/enterprise-edition/jdbc9201-092698.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>