aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql2odbc/Makefile
blob: 78339544ac98e7c172323c6fca0ab1ec0568838e (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
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mysql2odbc
PORTVERSION=    0.99.2
PORTREVISION=   5
CATEGORIES= databases
MASTER_SITES=   http://www.iodbc.org/downloads/mysql2odbc/

MAINTAINER= fjoe@FreeBSD.org
COMMENT=    Openlink MySQL-ODBC Gateway

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

USES=       libtool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--libdir=${PREFIX}/mysql2odbc
LDFLAGS+=   -lpthread
INSTALL_TARGET= install-strip

USE_LDCONFIG=   yes

.include <bsd.port.mk>