ports/databases/jdbc-oracle11g/Makefile
Muhammad Moinur Rahman 0835676e36
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
  USES=java:build,run if NO_BUILD is undefined. Else it defaults to
  USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
  USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
  extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
  build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
  build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>

Approved by: mat (portmgr), glewis
Differential Revision:  https://reviews.freebsd.org/D48201
2024-12-31 09:57:55 +01:00

48 lines
1.6 KiB
Makefile

PORTNAME= oracle11g
PORTVERSION= 11.2.0.4
PORTREVISION= 2
CATEGORIES= databases java
MASTER_SITES= # http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
PKGNAMEPREFIX= jdbc-
DISTNAME= ojdbc6.jar
EXTRACT_SUFX= # none
DIST_SUBDIR= oracle11g
MAINTAINER= ports@FreeBSD.org
COMMENT= JDBC drivers for Oracle 11g
WWW= http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html
# Converted from RESTRICTED
LICENSE= ORACLE
LICENSE_NAME= Oracle
LICENSE_TEXT= Packaging prohibited by Oracle license
LICENSE_PERMS= auto-accept
DEPRECATED= Oracle no longer provides public downloads of the old JDBC drivers
EXPIRATION_DATE= 2025-01-24
USES= java
JAVA_VERSION= 8
NO_BUILD= yes
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-112010-090769.html\
(Oracle Database 11g 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\
installation
.endif
do-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${STAGEDIR}${JAVAJARDIR}/ojdbc-${PORTVERSION}.jar
.include <bsd.port.post.mk>