2013-09-20 18:13:47 +02:00
|
|
|
# Created by: sergey@migsoft.com.ua
|
2000-05-30 02:12:26 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-01-17 21:50:46 +01:00
|
|
|
PORTNAME= mysql-connector-odbc
|
2015-02-21 16:13:15 +01:00
|
|
|
PORTVERSION= 5.3.4
|
2000-05-30 02:12:26 +02:00
|
|
|
CATEGORIES= databases
|
2005-01-14 00:51:38 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_MYSQL}
|
2015-02-21 16:13:15 +01:00
|
|
|
MASTER_SITE_SUBDIR= Connector-ODBC/5.3
|
2006-01-17 21:50:46 +01:00
|
|
|
PKGNAMESUFFIX= -${DRIVER_MANAGER}-mysql${MYSQL_VER}
|
2015-02-21 16:13:15 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2005-01-14 00:51:38 +01:00
|
|
|
MAINTAINER= sergey@network-asp.biz
|
2006-01-17 21:50:46 +01:00
|
|
|
COMMENT= ODBC driver for MySQL${MYSQL_VER} / ${DRIVER_MANAGER}
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2015-02-21 16:13:15 +01:00
|
|
|
BUILD_DEPENDS= unixODBC>=2.2.14_1:${PORTSDIR}/databases/unixODBC
|
|
|
|
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
|
|
|
2006-09-11 13:38:10 +02:00
|
|
|
USE_LDCONFIG= yes
|
2012-02-11 19:59:15 +01:00
|
|
|
USE_MYSQL= yes
|
2013-03-22 21:06:14 +01:00
|
|
|
USES= cmake
|
2006-01-17 21:50:46 +01:00
|
|
|
|
2015-02-21 16:13:15 +01:00
|
|
|
IGNORE_WITH_MYSQL= 55 51
|
|
|
|
|
|
|
|
CMAKE_ARGS= -DWITH_UNIXODBC=1
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
DRIVER_MANAGER= unixodbc
|
2005-01-14 00:51:38 +01:00
|
|
|
|
2012-02-11 19:59:15 +01:00
|
|
|
PORTDOCS= ChangeLog INSTALL \
|
|
|
|
README README.debug COPYING Licenses_for_Third-Party_Components.txt
|
2004-04-10 16:08:08 +02:00
|
|
|
|
2015-02-21 16:13:15 +01:00
|
|
|
PLIST_FILES= bin/myodbc-installer \
|
|
|
|
lib/libmyodbc5a.so \
|
|
|
|
lib/libmyodbc5w.so
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2000-05-30 02:12:26 +02:00
|
|
|
|
2006-01-17 21:50:46 +01:00
|
|
|
.include <bsd.port.mk>
|