diff options
author | nork <nork@FreeBSD.org> | 2005-05-06 23:13:13 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2005-05-06 23:13:13 +0800 |
commit | 451c0cee8b7b8c16f8cb1d6ce091f55afafea49d (patch) | |
tree | 66c01a97aecbb564ed4cb6383a1990bed6a7bad7 /databases/linux-oracle-instantclient-sqlplus | |
parent | 42417e98be0046d4effb60096e6f062f3130f374 (diff) | |
download | freebsd-ports-gnome-451c0cee8b7b8c16f8cb1d6ce091f55afafea49d.tar.gz freebsd-ports-gnome-451c0cee8b7b8c16f8cb1d6ce091f55afafea49d.tar.zst freebsd-ports-gnome-451c0cee8b7b8c16f8cb1d6ce091f55afafea49d.zip |
Add linux-oracle-instantclient-sqlplus 10.1.0.3, oracle 10
InstantClient SQLPlus. Works with Oracle RDBMS 8.1.2+.
PR: ports/76166
Inspired by: Alexander Novitsky <alecn2002@yandex.ru>
Oked by: thierry:-)
Diffstat (limited to 'databases/linux-oracle-instantclient-sqlplus')
4 files changed, 92 insertions, 0 deletions
diff --git a/databases/linux-oracle-instantclient-sqlplus/Makefile b/databases/linux-oracle-instantclient-sqlplus/Makefile new file mode 100644 index 000000000000..ceffdfceeff8 --- /dev/null +++ b/databases/linux-oracle-instantclient-sqlplus/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: linux-oracle-instantclient-sqlplus +# Date created: 2005-04-26 +# Whom: nork@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= instantclient +PORTVERSION= 10.1.0.3 +CATEGORIES= databases +MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ +PKGNAMEPREFIX= linux-oracle- +PKGNAMESUFFIX= -sqlplus +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-linux32-${PORTVERSION} +DIST_SUBDIR= oracle + +MAINTAINER= nork@FreeBSD.org +COMMENT= Oracle 10 InstantClient SQLPlus. Works with Oracle RDBMS 8.1.2+ + +RUN_DEPENDS= ${LINUXBASE}/usr/lib/oracle/${PORTVERSION}/client/lib/libocci.so.10.1:${.CURDIR}/../linux-oracle-instantclient-basic + +ONLY_FOR_ARCHS= i386 +# Couldn't test for IA64, so commented it out +# ONLY_FOR_ARCHS+= ia64 +NO_BUILD= yes +NO_FILTER_SHLIBS= yes + +RESTRICTED= Packaging prohibited by Oracle license + +USE_ZIP= yes +USE_LINUX_PREFIX= yes + +BINS_LIST= sqlplus + +LIBS_LIST= glogin.sql \ + libsqlplus.so + +WRKSRC= ${WRKDIR}/instantclient10_1 + +INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/lib +INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/bin + +PLIST_SUB= PORTVERSION=${PORTVERSION} + +.include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) +ECHO_MSG= ${PRINTF} %b + +IGNORE+= \n\n-=< MARKED AS IGNORED: >=-\n +IGNORE+= \n +IGNORE+= Due to Oracle license restrictions, you must fetch the source \n +IGNORE+= distribution manually. Please access \n +IGNORE+= http://www.oracle.com/technology/software/tech/oci/instantclient/index.html \n +IGNORE+= with a web browser and follow the link for the \n +IGNORE+= \"${DISTFILES}\". \n +IGNORE+= You will be required to register and log in, \n +IGNORE+= but you can create an account on that page. \n +IGNORE+= After registration and accepting the Oracle License, \n +IGNORE+= download the distribution file, \n ${DISTFILES}, \n +IGNORE+= into ${DISTDIR}/${DIST_SUBDIR}/ \n +IGNORE+= and then restart this installation\n\n +.endif + +do-install: + ${MKDIR} -m 0755 ${INSTBINSDIR} + ${LN} -s ../lib/oracle/${PORTVERSION}/client/bin/sqlplus ${PREFIX}/usr/bin/sqlplus +.for i in ${BINS_LIST} + ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${INSTBINSDIR}/${i} +.endfor +.for i in ${LIBS_LIST} + ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBSDIR}/${i} +.endfor + +.include <bsd.port.post.mk> diff --git a/databases/linux-oracle-instantclient-sqlplus/distinfo b/databases/linux-oracle-instantclient-sqlplus/distinfo new file mode 100644 index 000000000000..f29fa0967e30 --- /dev/null +++ b/databases/linux-oracle-instantclient-sqlplus/distinfo @@ -0,0 +1,2 @@ +MD5 (oracle/instantclient-sqlplus-linux32-10.1.0.3.zip) = 7babb40bd4495abc221ab8e21bee5059 +SIZE (oracle/instantclient-sqlplus-linux32-10.1.0.3.zip) = 328543 diff --git a/databases/linux-oracle-instantclient-sqlplus/pkg-descr b/databases/linux-oracle-instantclient-sqlplus/pkg-descr new file mode 100644 index 000000000000..081ab038af61 --- /dev/null +++ b/databases/linux-oracle-instantclient-sqlplus/pkg-descr @@ -0,0 +1,9 @@ +Oracle instant client - SQLPlus distribution + +Instant Client allows you to run your applications without installing +the standard Oracle client or having an ORACLE_HOME. OCI, OCCI, ODBC, +and JDBC applications work without modification, while using +significantly less disk space than before. Even SQL*Plus can be used +with Instant Client. No recompile, no hassle. + +WWW: http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html diff --git a/databases/linux-oracle-instantclient-sqlplus/pkg-plist b/databases/linux-oracle-instantclient-sqlplus/pkg-plist new file mode 100644 index 000000000000..05c3c8f549ce --- /dev/null +++ b/databases/linux-oracle-instantclient-sqlplus/pkg-plist @@ -0,0 +1,6 @@ +usr/bin/sqlplus +usr/lib/oracle/%%PORTVERSION%%/client/bin/sqlplus +usr/lib/oracle/%%PORTVERSION%%/client/lib/glogin.sql +usr/lib/oracle/%%PORTVERSION%%/client/lib/libsqlplus.so +@dirrm usr/lib/oracle/%%PORTVERSION%%/client/bin +@unexec rmdir %D/usr/bin 2>/dev/null || true |