aboutsummaryrefslogtreecommitdiff
path: root/databases/jdbc-oracle10g/Makefile
blob: 3d6d6b6d5c77facd06327406150a7051249177bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Created by: José García Juanino <jjuanino@gmail.com>
# $FreeBSD$

PORTNAME=	oracle10g
PORTVERSION=	10.2.0.5
PORTREVISION=	1
CATEGORIES=	databases java
MASTER_SITES=	# http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html
PKGNAMEPREFIX=	jdbc-
DISTNAME=	ojdbc14.jar
EXTRACT_SUFX=	# none
DIST_SUBDIR=	oracle10g

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The JDBC drivers for Oracle 10g

DEPRECATED=	Oracle 10g EOL almost 4 years
EXPIRATION_DATE=	2017-03-07

USE_JAVA=	yes
JAVA_VERSION=	1.6+

NO_BUILD=	yes

RESTRICTED=	Packaging prohibited by Oracle license
NO_CDROM=	Packaging prohibited by Oracle license

NO_WRKSUBDIR=	yes

PLIST_FILES=	%%JAVAJARDIR%%/ojdbc-${PORTVERSION}.jar

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES})
IGNORE=	due to Oracle license restrictions, you must fetch the source\
distribution manually. Please access\
http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html\
(Oracle Database 10g Release 2 (${PORTVERSION} JDBC Drivers) with a web\
browser and follow the link for the ${DISTFILES}. You will be required to\
register and log in, but you can create an account on that page. After\
registration and accepting the Oracle License, download the distribution\
file, ${DISTFILES}, place into ${DISTDIR}/${DIST_SUBDIR}, and restart this\
installation
.endif

do-install:
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/ojdbc-${PORTVERSION}.jar

.include <bsd.port.post.mk>