diff options
Diffstat (limited to 'databases/linux-oracle-instantclient-sqlplus')
4 files changed, 24 insertions, 21 deletions
diff --git a/databases/linux-oracle-instantclient-sqlplus/Makefile b/databases/linux-oracle-instantclient-sqlplus/Makefile index ec3f793294d6..23d32e4676bd 100644 --- a/databases/linux-oracle-instantclient-sqlplus/Makefile +++ b/databases/linux-oracle-instantclient-sqlplus/Makefile @@ -6,18 +6,18 @@ # PORTNAME= instantclient -PORTVERSION= 10.2.0.2.${DISTDATE} +PORTVERSION= ${ORACLEVERSION}.${DISTDATE} CATEGORIES= databases MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ PKGNAMEPREFIX= linux-oracle- PKGNAMESUFFIX= -sqlplus -DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${PORTVERSION:S/.${DISTDATE}/-${DISTDATE}/} +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE} 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 +RUN_DEPENDS= ${LINUXBASE}/usr/lib/oracle/${ORACLEVERSION}/client/lib/libocci.so.10.1:${PORTSDIR}/databases/linux-oracle-instantclient-basic ONLY_FOR_ARCHS= i386 # amd64(not yet on own) NO_BUILD= yes @@ -28,6 +28,8 @@ RESTRICTED= Packaging prohibited by Oracle license USE_ZIP= yes USE_LINUX_PREFIX= yes +ORACLEVERSION= 10.2.0.3 + BINS_LIST= sqlplus LIBS_LIST= glogin.sql \ @@ -36,19 +38,19 @@ LIBS_LIST= glogin.sql \ WRKSRC= ${WRKDIR}/instantclient_10_2 -INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/lib -INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/bin +INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/bin +INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib -PLIST_SUB= PORTVERSION=${PORTVERSION} +PLIST_SUB= ORACLEVERSION=${ORACLEVERSION} .include <bsd.port.pre.mk> .if ${ARCH} == "i386" LINUXARCH= linux32 -DISTDATE= 20060331 +DISTDATE= 20061115 .elif ${ARCH} == "amd64" LINUXARCH= linux-x86-64 -DISTDATE= 20060228 +DISTDATE= 20070103 .endif .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) @@ -71,12 +73,13 @@ IGNORE+= and then restart this installation\n\n do-install: ${MKDIR} -m 0755 ${INSTBINSDIR} - ${LN} -s ../lib/oracle/${PORTVERSION}/client/bin/sqlplus ${PREFIX}/usr/bin/sqlplus + ${MKDIR} -m 0755 ${INSTLIBSDIR} + ${LN} -s ../lib/oracle/${ORACLEVERSION}/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} + ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBSDIR}/${i} .endfor .include <bsd.port.post.mk> diff --git a/databases/linux-oracle-instantclient-sqlplus/distinfo.amd64 b/databases/linux-oracle-instantclient-sqlplus/distinfo.amd64 index 6848f8e46697..7da2957c6460 100644 --- a/databases/linux-oracle-instantclient-sqlplus/distinfo.amd64 +++ b/databases/linux-oracle-instantclient-sqlplus/distinfo.amd64 @@ -1,3 +1,3 @@ -MD5 (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.2-20060228.zip) = 36aeb5c4ff82480db528cc2054ea6b7f -SHA256 (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.2-20060228.zip) = 4013f1151bb10d873c3592c69d9a41788e15caf8f00961a6b0fef42362d70c02 -SIZE (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.2-20060228.zip) = 789007 +MD5 (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip) = 020a02c29da17bb0d1aea78d6fb16c44 +SHA256 (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip) = 8dcc95e3bf5723a7b1d6deccce049490bc70d99c0b9ac6ef13320b6b426303f6 +SIZE (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip) = 789884 diff --git a/databases/linux-oracle-instantclient-sqlplus/distinfo.i386 b/databases/linux-oracle-instantclient-sqlplus/distinfo.i386 index d1c3683d585f..bdf62bbb4fa9 100644 --- a/databases/linux-oracle-instantclient-sqlplus/distinfo.i386 +++ b/databases/linux-oracle-instantclient-sqlplus/distinfo.i386 @@ -1,3 +1,3 @@ -MD5 (oracle/instantclient-sqlplus-linux32-10.2.0.2-20060331.zip) = 6a7db41002871134b1159715fef4b853 -SHA256 (oracle/instantclient-sqlplus-linux32-10.2.0.2-20060331.zip) = afe971ffade9d439019dad0d9040814731d38c921f83e2dcc119756415c70287 -SIZE (oracle/instantclient-sqlplus-linux32-10.2.0.2-20060331.zip) = 740155 +MD5 (oracle/instantclient-sqlplus-linux32-10.2.0.3-20061115.zip) = f71e87b5434ea952d159cb888ea8efb5 +SHA256 (oracle/instantclient-sqlplus-linux32-10.2.0.3-20061115.zip) = aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a +SIZE (oracle/instantclient-sqlplus-linux32-10.2.0.3-20061115.zip) = 741699 diff --git a/databases/linux-oracle-instantclient-sqlplus/pkg-plist b/databases/linux-oracle-instantclient-sqlplus/pkg-plist index bd35b0e98e67..3f9df7ddb68e 100644 --- a/databases/linux-oracle-instantclient-sqlplus/pkg-plist +++ b/databases/linux-oracle-instantclient-sqlplus/pkg-plist @@ -1,7 +1,7 @@ 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 -usr/lib/oracle/%%PORTVERSION%%/client/lib/libsqlplusic.so -@dirrm usr/lib/oracle/%%PORTVERSION%%/client/bin +usr/lib/oracle/%%ORACLEVERSION%%/client/bin/sqlplus +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/glogin.sql +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libsqlplus.so +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libsqlplusic.so +@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client/bin @dirrmtry usr/bin |