diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-11 15:10:22 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-11 15:10:22 +0000 |
commit | a9d5848eaff410d67d0d1ab2f014d6a5044ee565 (patch) | |
tree | c49bdd0090a320d4d9f4bbdcc7b5a6c7ff4f32c2 /databases/linux-oracle-instantclient-sqlplus/Makefile | |
parent | af58aa6bc0a73a1582a8e877b63f056ce1a9ea4e (diff) | |
download | ports-a9d5848eaff410d67d0d1ab2f014d6a5044ee565.tar.gz ports-a9d5848eaff410d67d0d1ab2f014d6a5044ee565.zip |
Notes
Diffstat (limited to 'databases/linux-oracle-instantclient-sqlplus/Makefile')
-rw-r--r-- | databases/linux-oracle-instantclient-sqlplus/Makefile | 23 |
1 files changed, 13 insertions, 10 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> |