View | Details | Raw Unified | Return to bug 81567 | Differences between
and this patch

Collapse All | Expand All

(-)databases/jdbc-oracle8i/Makefile (-17 / +36 lines)
Lines 5-41 Link Here
5
# $FreeBSD: ports/databases/jdbc-oracle816/Makefile,v 1.6 2004/06/02 22:17:12 patrick Exp $
5
# $FreeBSD: ports/databases/jdbc-oracle816/Makefile,v 1.6 2004/06/02 22:17:12 patrick Exp $
6
#
6
#
7
7
8
PORTNAME=	oracle816
8
PORTNAME=	oracle8i
9
PORTVERSION=	1.11
9
PORTVERSION=	8.1.7.1
10
CATEGORIES=	databases java
10
CATEGORIES=	databases java
11
MASTER_SITES=	# none
11
MASTER_SITES=	# none
12
PKGNAMEPREFIX=	jdbc-
12
PKGNAMEPREFIX=	jdbc-
13
DISTNAME=	classes111_01.
13
DISTFILES=	${CLASSES}${EXTRACT_SUFX} ${PATCH_FILE}${EXTRACT_SUFX}	\
14
EXTRACT_SUFX=	zip
14
		${NLS_CHARSET}${EXTRACT_SUFX}
15
EXTRACT_ONLY=	# none
15
DIST_SUBDIR=	oracle
16
EXTRACT_ONLY=	${CLASSES}${EXTRACT_SUFX} ${PATCH_FILE}${EXTRACT_SUFX}
16
17
17
MAINTAINER=	ports@FreeBSD.Org
18
MAINTAINER=	thierry@FreeBSD.Org
18
COMMENT=	The JDBC drivers for Oracle 8.1.6
19
COMMENT=	The JDBC drivers for Oracle 8i
19
20
20
RUN_DEPENDS=	${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11
21
PATCH_DEPENDS=	${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip
21
22
ALL_TARGET=	jar
23
22
24
RESTRICTED=	'Must be downloaded direct from Oracle via www interface'
23
RESTRICTED=	'Must be downloaded direct from Oracle via www interface'
25
NO_CDROM=	'Must be downloaded direct from Oracle via www interface'
24
NO_CDROM=	${RESTRICTED}
26
NO_PACKAGE=	'Must be downloaded direct from Oracle via www interface'
25
NO_PACKAGE=	${RESTRICTED}
26
27
USE_ZIP=	yes
28
USE_JAVA=	yes
29
JAVA_VERSION=	1.2+	# Should be "1.2 1.3" but tested OK with 1.4
30
JAVA_RUN=	jre
31
27
NO_BUILD=	yes
32
NO_BUILD=	yes
28
NO_WRKSUBDIR=	yes
33
NO_WRKSUBDIR=	yes
29
PLIST_FILES=	share/java/classes/classes111_01.zip
34
35
JDKVER=		12
36
CLASSES=	classes${JDKVER}
37
PATCH_FILE=	1725012_${JDKVER}
38
NLS_CHARSET=	nls_charset${JDKVER}
39
40
PLIST_FILES=	%%JAVAJARDIR%%/${CLASSES}${EXTRACT_SUFX}	\
41
		%%JAVAJARDIR%%/${NLS_CHARSET}${EXTRACT_SUFX}
30
42
31
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
32
44
33
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
45
.if !exists(${CLASSES:S|^|${_DISTDIR}/|}${EXTRACT_SUFX})	\
34
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."
46
 && !exists(${PATCH_FILE:S|^|${_DISTDIR}/|}${EXTRACT_SUFX})	\
47
 && !exists(${NLS_CHARSET:S|^|${_DISTDIR}/|}${EXTRACT_SUFX})
48
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."
35
.endif
49
.endif
36
50
51
pre-patch:
52
	@${MV} ${WRKDIR}/v8TTIoac.class ${WRKDIR}/oracle/jdbc/ttc7/v8TTIoac.class
53
	@(cd ${WRKDIR}; ${LOCALBASE}/bin/zip -rq ${WRKDIR}/${CLASSES}${EXTRACT_SUFX}	\
54
		javax oracle)
55
37
do-install:
56
do-install:
38
	@${MKDIR} ${PREFIX}/share/java/classes
57
	${INSTALL_DATA} ${WRKDIR}/${CLASSES}${EXTRACT_SUFX} ${JAVAJARDIR}
39
	@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${LOCALBASE}/share/java/classes
58
	${INSTALL_DATA} ${_DISTDIR}/${NLS_CHARSET}${EXTRACT_SUFX} ${JAVAJARDIR}
40
59
41
.include <bsd.port.post.mk>
60
.include <bsd.port.post.mk>
(-)databases/jdbc-oracle8i/distinfo (-1 / +6 lines)
Line 1 Link Here
1
MD5 (classes111_01.zip) = ca3c45844a5d6f05841fa28f6320374c
1
MD5 (oracle/classes12.zip) = b4fe69568d11e1a8d4c5359b55a0ffba
2
SIZE (oracle/classes12.zip) = 1936596
3
MD5 (oracle/1725012_12.zip) = 4954a395bf33524f34983300674bb391
4
SIZE (oracle/1725012_12.zip) = 2262
5
MD5 (oracle/nls_charset12.zip) = 48bcf4649fe6612ec3dbad7900fd4254
6
SIZE (oracle/nls_charset12.zip) = 12097171
(-)databases/jdbc-oracle8i/pkg-descr (-3 / +4 lines)
Lines 1-6 Link Here
1
This is a port of the JDBC driver which is used to access Oracle
1
This is a port of the JDBC driver which is used to access Oracle 8i
2
databases using a database-independant API in Java.
2
databases using a database-independant API in Java for use with JDK 1.2 and
3
JDK 1.3.
3
4
4
WWW: http://technet.oracle.com/tech/java/sqlj_jdbc/content.html
5
WWW: http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
5
6
6
patrick@freebsd.org
7
patrick@freebsd.org

Return to bug 81567