aboutsummaryrefslogtreecommitdiffstats
path: root/databases/oracle8-client/Makefile
blob: db6eac714e6f4893596cf84ad92098d3214d12d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    oracle8-client
# Date created:             8 Aug 2005
# Whom:                 Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   oracle8-client
PORTVERSION=    0.2.0
PORTREVISION=   1
CATEGORIES= databases
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fjoe

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    Oracle 8 client

USE_BZIP2=  yes
ONLY_FOR_ARCHS= i386
WRKSRC=     ${WRKDIR}/${PORTNAME}
ORACLE_HOME=    ${PREFIX}/${PORTNAME}

.include <bsd.port.pre.mk>

do-build:
    @cd ${WRKSRC}/freebsd && ./redefine-syms.sh ../lib/libclntst8.a
    @cd ${WRKSRC}/freebsd && ${MAKE} all patch clean ORACLE_HOME=${WRKSRC}

do-install:
    @${MKDIR} ${ORACLE_HOME}
    cd ${WRKSRC} && ${FIND} . -not -name '*.orig' -print0 |\
        ${CPIO} -dump0 -R ${SHAREOWN}:${SHAREGRP} ${ORACLE_HOME}

.include <bsd.port.post.mk>