diff options
author | nork <nork@FreeBSD.org> | 2007-02-11 23:05:20 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2007-02-11 23:05:20 +0800 |
commit | e32b10a8beccadb664281d3f48e7af98f10e1fcc (patch) | |
tree | a398e6ed18d3100e42cb65be1a617b0b43b68d05 /databases/linux-oracle-instantclient-basic | |
parent | 2a8930540fecf74915d3a7c18914ca33b1ec86f5 (diff) | |
download | freebsd-ports-gnome-e32b10a8beccadb664281d3f48e7af98f10e1fcc.tar.gz freebsd-ports-gnome-e32b10a8beccadb664281d3f48e7af98f10e1fcc.tar.zst freebsd-ports-gnome-e32b10a8beccadb664281d3f48e7af98f10e1fcc.zip |
o Fix install-dir typos.
o Bump PORTREVISION, accordingly.
Pointy hat to: myself
Diffstat (limited to 'databases/linux-oracle-instantclient-basic')
-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 |