diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-11 15:05:20 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2007-02-11 15:05:20 +0000 |
commit | af58aa6bc0a73a1582a8e877b63f056ce1a9ea4e (patch) | |
tree | 93b6418b8faddc8af4f3b04934dc20472999451f | |
parent | a0b25fb5cf527c1d85f70357fee78ff0f4b4f539 (diff) | |
download | ports-af58aa6bc0a73a1582a8e877b63f056ce1a9ea4e.tar.gz ports-af58aa6bc0a73a1582a8e877b63f056ce1a9ea4e.zip |
Notes
-rw-r--r-- | databases/linux-oracle-instantclient-basic/Makefile | 13 | ||||
-rw-r--r-- | databases/linux-oracle-instantclient-basic/pkg-plist | 26 |
2 files changed, 21 insertions, 18 deletions
diff --git a/databases/linux-oracle-instantclient-basic/Makefile b/databases/linux-oracle-instantclient-basic/Makefile index aae0ded78ebc..20134ff996c5 100644 --- a/databases/linux-oracle-instantclient-basic/Makefile +++ b/databases/linux-oracle-instantclient-basic/Makefile @@ -6,12 +6,13 @@ # PORTNAME= instantclient -PORTVERSION= 10.2.0.3.${DISTDATE} +PORTVERSION= ${ORACLEVERSION}.${DISTDATE} +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ PKGNAMEPREFIX= linux-oracle- PKGNAMESUFFIX= -basic -DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${PORTVERSION:S/.${DISTDATE}/-${DISTDATE}/} +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE} DIST_SUBDIR= oracle MAINTAINER= nork@FreeBSD.org @@ -26,6 +27,8 @@ RESTRICTED= Packaging prohibited by Oracle license USE_ZIP= yes USE_LINUX_PREFIX= yes +ORACLEVERSION= 10.2.0.3 + BINS_LIST= genezi LIBS_LIST= libclntsh.so.10.1 \ @@ -37,10 +40,10 @@ LIBS_LIST= libclntsh.so.10.1 \ WRKSRC= ${WRKDIR}/instantclient_10_2 -INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/bin -INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/lib +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> diff --git a/databases/linux-oracle-instantclient-basic/pkg-plist b/databases/linux-oracle-instantclient-basic/pkg-plist index 31f4715ea6d7..d6ff0cea6933 100644 --- a/databases/linux-oracle-instantclient-basic/pkg-plist +++ b/databases/linux-oracle-instantclient-basic/pkg-plist @@ -1,17 +1,17 @@ -usr/lib/oracle/%%PORTVERSION%%/client/bin/genezi -usr/lib/oracle/%%PORTVERSION%%/client/lib/libclntsh.so.10.1 -usr/lib/oracle/%%PORTVERSION%%/client/lib/libnnz10.so -usr/lib/oracle/%%PORTVERSION%%/client/lib/libocci.so.10.1 -usr/lib/oracle/%%PORTVERSION%%/client/lib/libociei.so -usr/lib/oracle/%%PORTVERSION%%/client/lib/libocijdbc10.so -usr/lib/oracle/%%PORTVERSION%%/client/lib/ojdbc14.jar -@dirrm usr/lib/oracle/%%PORTVERSION%%/client/bin -@dirrm usr/lib/oracle/%%PORTVERSION%%/client/lib -@dirrm usr/lib/oracle/%%PORTVERSION%%/client -@dirrm usr/lib/oracle/%%PORTVERSION%% +usr/lib/oracle/%%ORACLEVERSION%%/client/bin/genezi +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libclntsh.so.10.1 +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libnnz10.so +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libocci.so.10.1 +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libociei.so +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libocijdbc10.so +usr/lib/oracle/%%ORACLEVERSION%%/client/lib/ojdbc14.jar +@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client/bin +@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client/lib +@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client +@dirrm usr/lib/oracle/%%ORACLEVERSION%% @dirrm usr/lib/oracle @dirrmtry usr/lib @dirrmtry usr -@unexec cp %D/etc/ld.so.conf %D/etc/ld.so.conf.bak && sed "/\/usr\/lib\/oracle\/%%PORTVERSION%%\/client\/lib/d" %D/etc/ld.so.conf.bak > %D/etc/ld.so.conf && rm %D/etc/ld.so.conf.bak -@exec echo /usr/lib/oracle/%%PORTVERSION%%/client/lib >> %D/etc/ld.so.conf +@unexec cp %D/etc/ld.so.conf %D/etc/ld.so.conf.bak && sed "/\/usr\/lib\/oracle\/%%ORACLEVERSION%%\/client\/lib/d" %D/etc/ld.so.conf.bak > %D/etc/ld.so.conf && rm %D/etc/ld.so.conf.bak +@exec echo /usr/lib/oracle/%%ORACLEVERSION%%/client/lib >> %D/etc/ld.so.conf @exec %D/sbin/ldconfig |