diff options
author | John Marino <marino@FreeBSD.org> | 2014-09-10 00:00:54 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-09-10 00:00:54 +0000 |
commit | 27887035dbbf734c64cff11182c5d4bdfad8fc62 (patch) | |
tree | 5a5abaa32ff5bd83f3abe907fc1b6dd3fe6ad4df | |
parent | a32b2f6852819dbd0495e0e6f0be6c5dcaf707f7 (diff) | |
download | ports-27887035dbbf734c64cff11182c5d4bdfad8fc62.tar.gz ports-27887035dbbf734c64cff11182c5d4bdfad8fc62.zip |
Notes
-rw-r--r-- | databases/linux-oracle-instantclient-sdk/Makefile | 167 | ||||
-rw-r--r-- | databases/linux-oracle-instantclient-sdk/distinfo.amd64 | 4 | ||||
-rw-r--r-- | databases/linux-oracle-instantclient-sdk/pkg-plist | 84 |
3 files changed, 121 insertions, 134 deletions
diff --git a/databases/linux-oracle-instantclient-sdk/Makefile b/databases/linux-oracle-instantclient-sdk/Makefile index 419f2d9853f0..c71c66335899 100644 --- a/databases/linux-oracle-instantclient-sdk/Makefile +++ b/databases/linux-oracle-instantclient-sdk/Makefile @@ -1,113 +1,100 @@ # Created by: nork@FreeBSD.org # $FreeBSD$ -PORTNAME= instantclient -PORTVERSION= ${ORACLEVERSION}.${DISTDATE} -CATEGORIES= databases -MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ -PKGNAMEPREFIX= linux-oracle- -PKGNAMESUFFIX= -sdk -DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE} -DIST_SUBDIR= oracle +PORTNAME= instantclient +PORTVERSION= ${ORACLEVERSION}.${DISTDATE} +PORTEPOCH= 1 +CATEGORIES= databases +MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ +PKGNAMEPREFIX= linux-oracle- +PKGNAMESUFFIX= -sdk +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE} +DIST_SUBDIR= oracle -MAINTAINER= ports@FreeBSD.org -COMMENT= Oracle 10 InstantClient SDK. Works with Oracle RDBMS 8.1.2+ +MAINTAINER= ports@FreeBSD.org +COMMENT= Oracle 10 InstantClient SDK. Works with Oracle RDBMS 8.1.2+ -RUN_DEPENDS= ${LINUXBASE}/usr/lib/oracle/${ORACLEVERSION}/client/lib/libocci.so.10.1:${PORTSDIR}/databases/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 -DISTINFO_FILE= ${MASTERDIR}/distinfo.${ARCH} +NOFETCHFILES= ${DISTNAME}${EXTRACT_SUFX} +ONLY_FOR_ARCHS= i386 amd64 +NO_BUILD= yes +DISTINFO_FILE= ${MASTERDIR}/distinfo.${ARCH} -RESTRICTED= Packaging prohibited by Oracle license +RESTRICTED= Packaging prohibited by Oracle license -USES= zip +USES= zip USE_LINUX_PREFIX= yes -ORACLEVERSION= 10.2.0.3 - -INCS_LIST= nzerror.h \ - nzt.h \ - occi.h \ - occiAQ.h \ - occiCommon.h \ - occiControl.h \ - occiData.h \ - occiObjects.h \ - oci.h \ - oci1.h \ - oci8dp.h \ - ociap.h \ - ociapr.h \ - ocidef.h \ - ocidem.h \ - ocidfn.h \ - ociextp.h \ - ocikpr.h \ - ocixmldb.h \ - odci.h \ - oratypes.h \ - ori.h \ - orid.h \ - orl.h \ - oro.h \ - ort.h \ - xa.h - -DEMO_LIST= cdemo81.c \ - demo.mk \ - occidemo.sql \ - occidemod.sql \ - occidml.cpp \ - occiobj.cpp \ - occiobj.typ - -WRKSRC= ${WRKDIR}/instantclient_10_2/sdk - -INSTLIBSDIR= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib -INSTINCSDIR= ${PREFIX}/usr/include/oracle/${ORACLEVERSION}/client -INSTDEMODIR= ${PREFIX}/usr/share/oracle/${ORACLEVERSION}/client - -PLIST_SUB= PORTVERSION=${PORTVERSION} - -NO_STAGE= yes +ORACLEVERSION= 10.2.0.3 + +INCS_LIST= nzerror.h \ + nzt.h \ + occi.h \ + occiAQ.h \ + occiCommon.h \ + occiControl.h \ + occiData.h \ + occiObjects.h \ + oci.h \ + oci1.h \ + oci8dp.h \ + ociap.h \ + ociapr.h \ + ocidef.h \ + ocidem.h \ + ocidfn.h \ + ociextp.h \ + ocikpr.h \ + ocixmldb.h \ + odci.h \ + oratypes.h \ + ori.h \ + orid.h \ + orl.h \ + oro.h \ + ort.h \ + xa.h + +DEMO_LIST= cdemo81.c \ + demo.mk \ + occidemo.sql \ + occidemod.sql \ + occidml.cpp \ + occiobj.cpp \ + occiobj.typ + +WRKSRC= ${WRKDIR}/instantclient_10_2/sdk + +INSTLIBSDIR= ${STAGEDIR}${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib +INSTINCSDIR= ${STAGEDIR}${PREFIX}/usr/include/oracle/${ORACLEVERSION}/client +INSTDEMODIR= ${STAGEDIR}${PREFIX}/usr/share/oracle/${ORACLEVERSION}/client + +PLIST_SUB= PORTVERSION=${PORTVERSION} + .include <bsd.port.pre.mk> -.if ${ARCH} == "i386" -LINUXARCH= linux32 -DISTDATE= 20061115 -.elif ${ARCH} == "amd64" -LINUXARCH= linux-x86-64 -DISTDATE= 20070103 -.endif +LINUXARCH= linux32 +DISTDATE= 20061115 .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) -ECHO_MSG= ${PRINTF} %b - -IGNORE+= \n\n-=< MARKED AS IGNORED: >=-\n -IGNORE+= \n -IGNORE+= Due to Oracle license restrictions, you must fetch the source \n -IGNORE+= distribution manually. Please access \n -IGNORE+= http://www.oracle.com/technology/software/tech/oci/instantclient/index.html \n -IGNORE+= with a web browser and follow the link for the \n -IGNORE+= "${DISTFILES}". \n -IGNORE+= You will be required to register and log in, \n -IGNORE+= but you can create an account on that page. \n -IGNORE+= After registration and accepting the Oracle License, \n -IGNORE+= download the distribution file, \n ${DISTFILES}, \n -IGNORE+= into ${DISTDIR}/${DIST_SUBDIR}/ \n -IGNORE+= and then restart this installation\n\n +IGNORE+= due to Oracle license restrictions, you must fetch the source\ + distribution manually. Please do a network search for\ + ${DISTFILES} and find the current Oracle Downloads Web site.\ + After registration and accepting the Oracle License, download\ + the distribution files and place them in\ + ${DISTDIR}/${DIST_SUBDIR}/ .endif do-install: - ${MKDIR} -m 0755 ${INSTINCSDIR} ${INSTDEMODIR} - ${LN} -s libclntsh.so.10.1 ${INSTLIBSDIR}/libclntsh.so - ${LN} -s libocci.so.10.1 ${INSTLIBSDIR}/libocci.so + ${MKDIR} -m 0755 ${INSTINCSDIR} ${INSTDEMODIR} ${INSTLIBSDIR} + ${LN} -s libclntsh.so.10.1 ${INSTLIBSDIR}/libclntsh.so + ${LN} -s libocci.so.10.1 ${INSTLIBSDIR}/libocci.so .for i in ${INCS_LIST} - ${INSTALL_DATA} ${WRKSRC}/include/${i} ${INSTINCSDIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/include/${i} ${INSTINCSDIR}/${i} .endfor .for i in ${DEMO_LIST} - ${INSTALL_DATA} ${WRKSRC}/demo/${i} ${INSTDEMODIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/demo/${i} ${INSTDEMODIR}/${i} .endfor .include <bsd.port.post.mk> diff --git a/databases/linux-oracle-instantclient-sdk/distinfo.amd64 b/databases/linux-oracle-instantclient-sdk/distinfo.amd64 index 3ede4bb04334..34e4176c4375 100644 --- a/databases/linux-oracle-instantclient-sdk/distinfo.amd64 +++ b/databases/linux-oracle-instantclient-sdk/distinfo.amd64 @@ -1,2 +1,2 @@ -SHA256 (oracle/instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip) = d9da1494a9d19e96bff79c3ff77d079633d18c7d9b462a37eacc9a2a40641912 -SIZE (oracle/instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip) = 603137 +SHA256 (oracle/instantclient-sdk-linux32-10.2.0.3-20061115.zip) = 6893a784e1802e18300230dcac1ed2ecd6dc68a7060c02717f73bf268d43f6a5 +SIZE (oracle/instantclient-sdk-linux32-10.2.0.3-20061115.zip) = 602897 diff --git a/databases/linux-oracle-instantclient-sdk/pkg-plist b/databases/linux-oracle-instantclient-sdk/pkg-plist index e829aa59208f..d89f79112f5e 100644 --- a/databases/linux-oracle-instantclient-sdk/pkg-plist +++ b/databases/linux-oracle-instantclient-sdk/pkg-plist @@ -1,42 +1,42 @@ -usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libclntsh.so -usr/lib/oracle/%%ORACLEVERSION%%/client/lib/libocci.so -usr/share/oracle/%%ORACLEVERSION%%/client/cdemo81.c -usr/share/oracle/%%ORACLEVERSION%%/client/demo.mk -usr/share/oracle/%%ORACLEVERSION%%/client/occidemo.sql -usr/share/oracle/%%ORACLEVERSION%%/client/occidemod.sql -usr/share/oracle/%%ORACLEVERSION%%/client/occidml.cpp -usr/include/oracle/%%ORACLEVERSION%%/client/nzerror.h -usr/include/oracle/%%ORACLEVERSION%%/client/nzt.h -usr/include/oracle/%%ORACLEVERSION%%/client/occi.h -usr/include/oracle/%%ORACLEVERSION%%/client/occiAQ.h -usr/include/oracle/%%ORACLEVERSION%%/client/occiCommon.h -usr/include/oracle/%%ORACLEVERSION%%/client/occiControl.h -usr/include/oracle/%%ORACLEVERSION%%/client/occiData.h -usr/include/oracle/%%ORACLEVERSION%%/client/occiObjects.h -usr/include/oracle/%%ORACLEVERSION%%/client/oci.h -usr/include/oracle/%%ORACLEVERSION%%/client/oci1.h -usr/include/oracle/%%ORACLEVERSION%%/client/oci8dp.h -usr/include/oracle/%%ORACLEVERSION%%/client/ociap.h -usr/include/oracle/%%ORACLEVERSION%%/client/ociapr.h -usr/include/oracle/%%ORACLEVERSION%%/client/ocidef.h -usr/include/oracle/%%ORACLEVERSION%%/client/ocidem.h -usr/include/oracle/%%ORACLEVERSION%%/client/ocidfn.h -usr/include/oracle/%%ORACLEVERSION%%/client/ociextp.h -usr/include/oracle/%%ORACLEVERSION%%/client/ocikpr.h -usr/include/oracle/%%ORACLEVERSION%%/client/ocixmldb.h -usr/include/oracle/%%ORACLEVERSION%%/client/odci.h -usr/include/oracle/%%ORACLEVERSION%%/client/oratypes.h -usr/include/oracle/%%ORACLEVERSION%%/client/ori.h -usr/include/oracle/%%ORACLEVERSION%%/client/orid.h -usr/include/oracle/%%ORACLEVERSION%%/client/orl.h -usr/include/oracle/%%ORACLEVERSION%%/client/oro.h -usr/include/oracle/%%ORACLEVERSION%%/client/ort.h -usr/include/oracle/%%ORACLEVERSION%%/client/xa.h -@dirrm usr/include/oracle/%%ORACLEVERSION%%/client -@dirrm usr/include/oracle/%%ORACLEVERSION%% -@dirrm usr/include/oracle -@dirrm usr/share/oracle/%%ORACLEVERSION%%/client -@dirrm usr/share/oracle/%%ORACLEVERSION%% -@dirrm usr/share/oracle -@dirrmtry usr/include -@dirrmtry usr/share +usr/include/oracle/10.2.0.3/client/nzerror.h +usr/include/oracle/10.2.0.3/client/nzt.h +usr/include/oracle/10.2.0.3/client/occi.h +usr/include/oracle/10.2.0.3/client/occiAQ.h +usr/include/oracle/10.2.0.3/client/occiCommon.h +usr/include/oracle/10.2.0.3/client/occiControl.h +usr/include/oracle/10.2.0.3/client/occiData.h +usr/include/oracle/10.2.0.3/client/occiObjects.h +usr/include/oracle/10.2.0.3/client/oci.h +usr/include/oracle/10.2.0.3/client/oci1.h +usr/include/oracle/10.2.0.3/client/oci8dp.h +usr/include/oracle/10.2.0.3/client/ociap.h +usr/include/oracle/10.2.0.3/client/ociapr.h +usr/include/oracle/10.2.0.3/client/ocidef.h +usr/include/oracle/10.2.0.3/client/ocidem.h +usr/include/oracle/10.2.0.3/client/ocidfn.h +usr/include/oracle/10.2.0.3/client/ociextp.h +usr/include/oracle/10.2.0.3/client/ocikpr.h +usr/include/oracle/10.2.0.3/client/ocixmldb.h +usr/include/oracle/10.2.0.3/client/odci.h +usr/include/oracle/10.2.0.3/client/oratypes.h +usr/include/oracle/10.2.0.3/client/ori.h +usr/include/oracle/10.2.0.3/client/orid.h +usr/include/oracle/10.2.0.3/client/orl.h +usr/include/oracle/10.2.0.3/client/oro.h +usr/include/oracle/10.2.0.3/client/ort.h +usr/include/oracle/10.2.0.3/client/xa.h +usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so +usr/lib/oracle/10.2.0.3/client/lib/libocci.so +usr/share/oracle/10.2.0.3/client/cdemo81.c +usr/share/oracle/10.2.0.3/client/demo.mk +usr/share/oracle/10.2.0.3/client/occidemo.sql +usr/share/oracle/10.2.0.3/client/occidemod.sql +usr/share/oracle/10.2.0.3/client/occidml.cpp +usr/share/oracle/10.2.0.3/client/occiobj.cpp +usr/share/oracle/10.2.0.3/client/occiobj.typ +@dirrmtry usr/include/oracle/10.2.0.3/client +@dirrmtry usr/include/oracle/10.2.0.3 +@dirrmtry usr/include/oracle +@dirrmtry usr/share/oracle/10.2.0.3/client +@dirrmtry usr/share/oracle/10.2.0.3 +@dirrmtry usr/share/oracle |