aboutsummaryrefslogtreecommitdiff
path: root/databases/linux-oracle-instantclient-sqlplus
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2006-01-18 15:54:29 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2006-01-18 15:54:29 +0000
commitaa5bc0195d9b96b5935c0b79d496af1d36e199bb (patch)
tree7798d20ca436cf0b7d65a4320bf0aae14850f80b /databases/linux-oracle-instantclient-sqlplus
parent7037ad1e33d8362776628f1e4c5c40009bd219c3 (diff)
downloadports-aa5bc0195d9b96b5935c0b79d496af1d36e199bb.tar.gz
ports-aa5bc0195d9b96b5935c0b79d496af1d36e199bb.zip
Notes
Diffstat (limited to 'databases/linux-oracle-instantclient-sqlplus')
-rw-r--r--databases/linux-oracle-instantclient-sqlplus/Makefile27
-rw-r--r--databases/linux-oracle-instantclient-sqlplus/distinfo2
-rw-r--r--databases/linux-oracle-instantclient-sqlplus/distinfo.amd643
-rw-r--r--databases/linux-oracle-instantclient-sqlplus/distinfo.i3863
-rw-r--r--databases/linux-oracle-instantclient-sqlplus/distinfo.ia643
-rw-r--r--databases/linux-oracle-instantclient-sqlplus/pkg-plist1
6 files changed, 29 insertions, 10 deletions
diff --git a/databases/linux-oracle-instantclient-sqlplus/Makefile b/databases/linux-oracle-instantclient-sqlplus/Makefile
index ceffdfceeff8..971b7115ae24 100644
--- a/databases/linux-oracle-instantclient-sqlplus/Makefile
+++ b/databases/linux-oracle-instantclient-sqlplus/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= instantclient
-PORTVERSION= 10.1.0.3
+PORTVERSION= 10.2.0.1.${DISTDATE}
CATEGORIES= databases
MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/
PKGNAMEPREFIX= linux-oracle-
PKGNAMESUFFIX= -sqlplus
-DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-linux32-${PORTVERSION}
+DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${PORTVERSION:S/.${DISTDATE}/-${DISTDATE}/}
DIST_SUBDIR= oracle
MAINTAINER= nork@FreeBSD.org
@@ -19,11 +19,10 @@ 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
+ONLY_FOR_ARCHS= i386 ia64 amd64
NO_BUILD= yes
NO_FILTER_SHLIBS= yes
+MD5_FILE= ${MASTERDIR}/distinfo.${ARCH}
RESTRICTED= Packaging prohibited by Oracle license
@@ -32,10 +31,11 @@ USE_LINUX_PREFIX= yes
BINS_LIST= sqlplus
-LIBS_LIST= glogin.sql \
- libsqlplus.so
+LIBS_LIST= glogin.sql \
+ libsqlplus.so \
+ libsqlplusic.so
-WRKSRC= ${WRKDIR}/instantclient10_1
+WRKSRC= ${WRKDIR}/instantclient10_2
INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/lib
INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/bin
@@ -44,6 +44,17 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
+.if ${ARCH} == "i386"
+LINUXARCH= linux32
+DISTDATE= 20050713
+.elif ${ARCH} == "amd64"
+LINUXARCH= linux-x86-64
+DISTDATE= 20051025
+.elif ${ARCH} == "ia64"
+LINUXARCH= linux-ia64
+DISTDATE= 20051213
+.endif
+
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
ECHO_MSG= ${PRINTF} %b
diff --git a/databases/linux-oracle-instantclient-sqlplus/distinfo b/databases/linux-oracle-instantclient-sqlplus/distinfo
deleted file mode 100644
index f29fa0967e30..000000000000
--- a/databases/linux-oracle-instantclient-sqlplus/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-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/distinfo.amd64 b/databases/linux-oracle-instantclient-sqlplus/distinfo.amd64
new file mode 100644
index 000000000000..168a30f8699b
--- /dev/null
+++ b/databases/linux-oracle-instantclient-sqlplus/distinfo.amd64
@@ -0,0 +1,3 @@
+MD5 (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.1-20051025.zip) = a353edc796b6ef6be288f3f141965116
+SHA256 (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.1-20051025.zip) = bacf89be865e3e222f3fcb8904ad479624a7f79b7cd13b817f08ff4fb3d94af5
+SIZE (oracle/instantclient-sqlplus-linux-x86-64-10.2.0.1-20051025.zip) = 788073
diff --git a/databases/linux-oracle-instantclient-sqlplus/distinfo.i386 b/databases/linux-oracle-instantclient-sqlplus/distinfo.i386
new file mode 100644
index 000000000000..49e3b0914888
--- /dev/null
+++ b/databases/linux-oracle-instantclient-sqlplus/distinfo.i386
@@ -0,0 +1,3 @@
+MD5 (oracle/instantclient-sqlplus-linux32-10.2.0.1-20050713.zip) = e24612ea9b33ef7d3eaf0dc55fb2a3d0
+SHA256 (oracle/instantclient-sqlplus-linux32-10.2.0.1-20050713.zip) = 73a2eb3e89f62a60d13436ff58ca5ea2b5300783bd2f82fca6082c9c3205dc09
+SIZE (oracle/instantclient-sqlplus-linux32-10.2.0.1-20050713.zip) = 739754
diff --git a/databases/linux-oracle-instantclient-sqlplus/distinfo.ia64 b/databases/linux-oracle-instantclient-sqlplus/distinfo.ia64
new file mode 100644
index 000000000000..85dd2265126d
--- /dev/null
+++ b/databases/linux-oracle-instantclient-sqlplus/distinfo.ia64
@@ -0,0 +1,3 @@
+MD5 (oracle/instantclient-sqlplus-linux-ia64-10.2.0.1-20051213.zip) = ab507d0cd94c57792a7d207dab8b5760
+SHA256 (oracle/instantclient-sqlplus-linux-ia64-10.2.0.1-20051213.zip) = 274c60e376f3a3c3322b79ff28704a1152eca7eeafe39a98bc1647e8ef5f6f5c
+SIZE (oracle/instantclient-sqlplus-linux-ia64-10.2.0.1-20051213.zip) = 1110989
diff --git a/databases/linux-oracle-instantclient-sqlplus/pkg-plist b/databases/linux-oracle-instantclient-sqlplus/pkg-plist
index 05c3c8f549ce..33ffdeeea3da 100644
--- a/databases/linux-oracle-instantclient-sqlplus/pkg-plist
+++ b/databases/linux-oracle-instantclient-sqlplus/pkg-plist
@@ -2,5 +2,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
+usr/lib/oracle/%%PORTVERSION%%/client/lib/libsqlplusic.so
@dirrm usr/lib/oracle/%%PORTVERSION%%/client/bin
@unexec rmdir %D/usr/bin 2>/dev/null || true