summaryrefslogtreecommitdiff
path: root/databases/oracle_odbc_driver/Makefile
blob: 440542f22041ead9999405498c5fb8ea9abef6c9 (plain)
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
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	oracle_odbc_driver
PORTVERSION=	0.5.6
PORTREVISION=	4
CATEGORIES=	databases
MASTER_SITES=	http://home.fnal.gov/~dbox/oracle/odbc/
DISTNAME=	${PORTNAME}.${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Oracle Open Source ODBC driver

BROKEN=		unfetchable

LIB_DEPENDS=	libodbc.so:${PORTSDIR}/databases/unixODBC
CONFIGURE_ARGS=	--with-unixODBC=${LOCALBASE}

BUILD_DEPENDS=	${ORACLE_HOME}/lib/libclntst8.a:${PORTSDIR}/databases/oracle8-client
RUN_DEPENDS=	${ORACLE_HOME}/lib/libclntst8.a:${PORTSDIR}/databases/oracle8-client

WRKSRC=		${WRKDIR}/${PORTNAME}
ORACLE_HOME=	${LOCALBASE}/oracle8-client

USES=		libtool
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ORACLE_HOME="${ORACLE_HOME}" \
		AUTOHEADER=true
LIBS+=		`${CAT} ${ORACLE_HOME}/lib/sysliblist`
USE_LDCONFIG=	yes

.include <bsd.port.mk>