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= oracle9i |
9 |
PORTVERSION= 1.11 |
9 |
PORTVERSION= 9.2.0.5 |
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} ${OCRS_FILE} |
14 |
EXTRACT_SUFX= zip |
14 |
DIST_SUBDIR= oracle |
15 |
EXTRACT_ONLY= # none |
15 |
EXTRACT_ONLY= # none |
16 |
|
16 |
|
17 |
MAINTAINER= ports@FreeBSD.Org |
17 |
MAINTAINER= thierry@FreeBSD.Org |
18 |
COMMENT= The JDBC drivers for Oracle 8.1.6 |
18 |
COMMENT= The JDBC drivers for Oracle 9i |
19 |
|
19 |
|
20 |
RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11 |
20 |
RESTRICTED= 'Must be downloaded direct from Oracle via www interface' |
|
|
21 |
NO_CDROM= ${RESTRICTED} |
22 |
NO_PACKAGE= ${RESTRICTED} |
21 |
|
23 |
|
22 |
ALL_TARGET= jar |
24 |
USE_JAVA= yes |
|
|
25 |
JAVA_VERSION= 1.4+ |
26 |
JAVA_RUN= jre |
23 |
|
27 |
|
24 |
RESTRICTED= 'Must be downloaded direct from Oracle via www interface' |
|
|
25 |
NO_CDROM= 'Must be downloaded direct from Oracle via www interface' |
26 |
NO_PACKAGE= 'Must be downloaded direct from Oracle via www interface' |
27 |
NO_BUILD= yes |
28 |
NO_BUILD= yes |
28 |
NO_WRKSUBDIR= yes |
29 |
NO_WRKSUBDIR= yes |
29 |
PLIST_FILES= share/java/classes/classes111_01.zip |
30 |
|
|
|
31 |
CLASSES= ojdbc14.jar |
32 |
OCRS_FILE= ocrs12.zip |
33 |
|
34 |
PLIST_FILES= %%JAVAJARDIR%%/${CLASSES} \ |
35 |
%%JAVAJARDIR%%/${OCRS_FILE} |
30 |
|
36 |
|
31 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
32 |
|
38 |
|
33 |
.if !exists(${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) |
39 |
.if !exists(${CLASSES:S|^|${_DISTDIR}/|}}) \ |
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." |
40 |
&& !exists(${OCRS_FILE:S|^|${_DISTDIR}/|}) |
|
|
41 |
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." |
35 |
.endif |
42 |
.endif |
36 |
|
43 |
|
37 |
do-install: |
44 |
do-install: |
38 |
@${MKDIR} ${PREFIX}/share/java/classes |
45 |
${INSTALL_DATA} ${DISTFILES:S|^|${_DISTDIR}/|} ${JAVAJARDIR} |
39 |
@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${LOCALBASE}/share/java/classes |
|
|
40 |
|
46 |
|
41 |
.include <bsd.port.post.mk> |
47 |
.include <bsd.port.post.mk> |