2013-09-20 18:13:47 +02:00
# Created by: Patrick Gardella <patrick@FreeBSD.org>
2000-10-26 15:06:18 +02:00
# $FreeBSD$
2005-06-05 22:30:49 +02:00
PORTNAME = oracle8i
PORTVERSION = 8.1.7.1
2008-06-06 16:17:21 +02:00
PORTREVISION = 2
2000-10-26 15:06:18 +02:00
CATEGORIES = databases java
MASTER_SITES = # none
PKGNAMEPREFIX = jdbc-
2005-06-05 22:30:49 +02:00
DISTFILES = ${ CLASSES } ${ EXTRACT_SUFX } ${ PATCH_FILE } ${ EXTRACT_SUFX } \
${ NLS_CHARSET } ${ EXTRACT_SUFX }
DIST_SUBDIR = oracle
EXTRACT_ONLY = ${ CLASSES } ${ EXTRACT_SUFX } ${ PATCH_FILE } ${ EXTRACT_SUFX }
2000-10-26 15:06:18 +02:00
2010-12-29 08:03:16 +01:00
MAINTAINER = ports@FreeBSD.org
2005-06-05 22:30:49 +02:00
COMMENT = The JDBC drivers for Oracle 8i
2000-10-26 15:06:18 +02:00
2005-06-05 22:30:49 +02:00
PATCH_DEPENDS = ${ LOCALBASE } /bin/zip:${ PORTSDIR } /archivers/zip
2000-10-26 15:06:18 +02:00
2012-02-25 23:20:16 +01:00
RESTRICTED = Must be downloaded direct from Oracle via www interface
2005-06-05 22:30:49 +02:00
2014-03-07 17:49:09 +01:00
USES = zip
SE_JAVA = yes
2012-12-10 14:18:28 +01:00
JAVA_VERSION = 1.6+
2005-06-05 22:30:49 +02:00
2000-10-26 15:06:18 +02:00
NO_BUILD = yes
NO_WRKSUBDIR = yes
2005-06-05 22:30:49 +02:00
JDKVER = 12
CLASSES = classes${ JDKVER }
PATCH_FILE = 1725012_${ JDKVER }
NLS_CHARSET = nls_charset${ JDKVER }
PLIST_FILES = %%JAVAJARDIR%%/${ CLASSES } ${ EXTRACT_SUFX } \
%%JAVAJARDIR%%/${ NLS_CHARSET } ${ EXTRACT_SUFX }
2000-10-26 15:06:18 +02:00
. i n c l u d e < b s d . p o r t . p r e . m k >
2005-06-05 22:30:49 +02:00
.if !exists(${CLASSES : S | ^| ${_DISTDIR }/| }${EXTRACT_SUFX }) \
&& !exists( ${ PATCH_FILE : S |^| ${ _DISTDIR } /| } ${ EXTRACT_SUFX } ) \
&& !exists( ${ NLS_CHARSET : S |^| ${ _DISTDIR } /| } ${ EXTRACT_SUFX } )
2012-02-18 04:32:35 +01:00
IGNORE = Please manually download ${ DISTFILES } from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html Oracle8i 8.1.7 JDBC Drivers for use with JDK 1.2 \( JDBC classes + Oracle8i ${ PORTVERSION } Patch + nls_charset12.zip\) . Put ${ DISTFILES } into the directory ${ _DISTDIR } and run make again.
2000-10-26 15:06:18 +02:00
. e n d i f
2005-06-05 22:30:49 +02:00
pre-patch :
@${ MV } ${ WRKDIR } /v8TTIoac.class ${ WRKDIR } /oracle/jdbc/ttc7/v8TTIoac.class
@( cd ${ WRKDIR } ; ${ LOCALBASE } /bin/zip -rq ${ WRKDIR } /${ CLASSES } ${ EXTRACT_SUFX } \
javax oracle)
2000-10-26 15:06:18 +02:00
do-install :
2014-06-07 04:21:27 +02:00
${ INSTALL_DATA } ${ WRKDIR } /${ CLASSES } ${ EXTRACT_SUFX } ${ STAGEDIR } ${ JAVAJARDIR }
${ INSTALL_DATA } ${ _DISTDIR } /${ NLS_CHARSET } ${ EXTRACT_SUFX } ${ STAGEDIR } ${ JAVAJARDIR }
2000-10-26 15:06:18 +02:00
. i n c l u d e < b s d . p o r t . p o s t . m k >