o Fix install-dir typos.
o Bump PORTREVISION, accordingly. Pointy hat to: myself
This commit is contained in:
parent
a0b25fb5cf
commit
af58aa6bc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184887
2 changed files with 21 additions and 18 deletions
|
@ -6,12 +6,13 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= instantclient
|
PORTNAME= instantclient
|
||||||
PORTVERSION= 10.2.0.3.${DISTDATE}
|
PORTVERSION= ${ORACLEVERSION}.${DISTDATE}
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/
|
MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/
|
||||||
PKGNAMEPREFIX= linux-oracle-
|
PKGNAMEPREFIX= linux-oracle-
|
||||||
PKGNAMESUFFIX= -basic
|
PKGNAMESUFFIX= -basic
|
||||||
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${PORTVERSION:S/.${DISTDATE}/-${DISTDATE}/}
|
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE}
|
||||||
DIST_SUBDIR= oracle
|
DIST_SUBDIR= oracle
|
||||||
|
|
||||||
MAINTAINER= nork@FreeBSD.org
|
MAINTAINER= nork@FreeBSD.org
|
||||||
|
@ -26,6 +27,8 @@ RESTRICTED= Packaging prohibited by Oracle license
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
USE_LINUX_PREFIX= yes
|
USE_LINUX_PREFIX= yes
|
||||||
|
|
||||||
|
ORACLEVERSION= 10.2.0.3
|
||||||
|
|
||||||
BINS_LIST= genezi
|
BINS_LIST= genezi
|
||||||
|
|
||||||
LIBS_LIST= libclntsh.so.10.1 \
|
LIBS_LIST= libclntsh.so.10.1 \
|
||||||
|
@ -37,10 +40,10 @@ LIBS_LIST= libclntsh.so.10.1 \
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/instantclient_10_2
|
WRKSRC= ${WRKDIR}/instantclient_10_2
|
||||||
|
|
||||||
INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/bin
|
INSTBINSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/bin
|
||||||
INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${PORTVERSION}/client/lib
|
INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib
|
||||||
|
|
||||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
PLIST_SUB= ORACLEVERSION=${ORACLEVERSION}
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/bin/genezi
|
usr/lib/oracle/%%ORACLEVERSION%%/client/bin/genezi
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/lib/libclntsh.so.10.1
|
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libclntsh.so.10.1
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/lib/libnnz10.so
|
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libnnz10.so
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/lib/libocci.so.10.1
|
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libocci.so.10.1
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/lib/libociei.so
|
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libociei.so
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/lib/libocijdbc10.so
|
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libocijdbc10.so
|
||||||
usr/lib/oracle/%%PORTVERSION%%/client/lib/ojdbc14.jar
|
usr/lib/oracle/%%ORACLEVERSION%%/client/lib/ojdbc14.jar
|
||||||
@dirrm usr/lib/oracle/%%PORTVERSION%%/client/bin
|
@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client/bin
|
||||||
@dirrm usr/lib/oracle/%%PORTVERSION%%/client/lib
|
@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client/lib
|
||||||
@dirrm usr/lib/oracle/%%PORTVERSION%%/client
|
@dirrm usr/lib/oracle/%%ORACLEVERSION%%/client
|
||||||
@dirrm usr/lib/oracle/%%PORTVERSION%%
|
@dirrm usr/lib/oracle/%%ORACLEVERSION%%
|
||||||
@dirrm usr/lib/oracle
|
@dirrm usr/lib/oracle
|
||||||
@dirrmtry usr/lib
|
@dirrmtry usr/lib
|
||||||
@dirrmtry usr
|
@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
|
@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/%%PORTVERSION%%/client/lib >> %D/etc/ld.so.conf
|
@exec echo /usr/lib/oracle/%%ORACLEVERSION%%/client/lib >> %D/etc/ld.so.conf
|
||||||
@exec %D/sbin/ldconfig
|
@exec %D/sbin/ldconfig
|
||||||
|
|
Loading…
Reference in a new issue