aboutsummaryrefslogtreecommitdiffstats
path: root/databases/oracle8-client/Makefile
blob: 8e58b1dbf34ce98e25fad5b435507dec56ed44f2 (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
# 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>