# Created by: nork@FreeBSD.org # $FreeBSD: head/databases/linux-oracle-instantclient-sqlplus/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= instantclient PORTVERSION= ${ORACLEVERSION}.${DISTDATE} PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= #http://www.oracle.com/technology/software/tech/oci/instantclient/ PKGNAMEPREFIX= linux-oracle- PKGNAMESUFFIX= -sqlplus DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${LINUXARCH}-${ORACLEVERSION}-${DISTDATE} DIST_SUBDIR= oracle MAINTAINER= pi@FreeBSD.org COMMENT= Oracle 10 32 Bit Linux InstantClient SQLPlus for RDBMS 8.1.2+ ONLY_FOR_ARCHS= i386 amd64 NO_BUILD= yes DISTINFO_FILE= ${MASTERDIR}/distinfo.i386 RESTRICTED= Packaging prohibited by Oracle license # base RUN_DEPENDS+= linux-oracle-instantclient-basic>0:databases/linux-oracle-instantclient-basic USES= zip USE_LINUX= c6 USE_LINUX_PREFIX= yes ORACLEVERSION= 10.2.0.3 BINS_LIST= sqlplus LIBS_LIST= glogin.sql \ libsqlplus.so \ libsqlplusic.so WRKSRC= ${WRKDIR}/instantclient_10_2 INSTBINSDIR= ${STAGEDIR}${PREFIX}/usr/bin INSTLIBSDIR= ${STAGEDIR}${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib #USE_LDCONFIG= ${PREFIX}/usr/lib/oracle/${ORACLEVERSION}/client/lib USE_LDCONFIG= yes PLIST_SUB= ORACLEVERSION=${ORACLEVERSION} .include #LINUXXVAL= x86-64 #.if ${ARCH} == "i386" LINUXARCH= linux32 LINUXXVAL= x86 DISTDATE= 20061115 #.elif ${ARCH} == "amd64" #LINUXARCH= linux-x86-64 #DISTDATE= 20070103 #.endif .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE=\ Due to Oracle license restrictions, you must fetch the source\ distribution manually from\ http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html\ , follow the link for Linux ${LINUXXVAL} and ${DISTFILES}\ and place them in ${DISTDIR}/${DIST_SUBDIR}/ .endif do-install: ${MKDIR} -m 0755 ${INSTBINSDIR} ${MKDIR} -m 0755 ${INSTLIBSDIR} .for i in ${BINS_LIST} ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${INSTBINSDIR}/${i} .endfor .for i in ${LIBS_LIST} ${INSTALL_DATA} ${WRKSRC}/${i} ${INSTLIBSDIR}/${i} .endfor .include