1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/databases/oracle8-client/Makefile
Eugene Grosbein cf5ea85f48 Re-add databases/oracle8-client removed with r435735 as there is user demand for it.
The only way for native FreeBSD binaries to connect to modern Oracle databases is
usage of OCI8 libraries supplied by the port. Additional changes:

- integrate patch supplied with PR 211107;
- assign maintainership to the submitter;
- supply additional MASTER_SITE;
- dead WWW link replaced with working copy of old one;
- bump PORTREVISION.

PR:		211107
Approved by:	vsevolod (mentor)
2017-05-18 15:56:22 +00:00

29 lines
722 B
Makefile

# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$
PORTNAME= oracle8-client
PORTVERSION= 0.2.0
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= LOCAL/fjoe \
http://www.grosbein.net/freebsd/distfiles/
MAINTAINER= bonkor@gmail.com
COMMENT= Oracle 8 client
USES= tar:bzip2
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME}
ORACLE_HOME= ${PREFIX}/${PORTNAME}
do-build:
@cd ${WRKSRC}/freebsd && ./redefine-syms.sh ../lib/libclntst8.a
@cd ${WRKSRC}/freebsd && ${MAKE} all patch clean ORACLE_HOME=${WRKSRC}
do-install:
@${MKDIR} ${STAGEDIR}${ORACLE_HOME}
cd ${WRKSRC} && ${FIND} . -not -name '*.orig' -print0 |\
${CPIO} -dump0 -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${ORACLE_HOME}
.include <bsd.port.mk>