freebsd-ports/databases/mysql-connector-odbc/Makefile
Pawel Pekala 5e7cac6b27 - Update to version 5.3.4 [1]
- Mark ignored for versions 51 and 55 of mysql [1]
- Move things to proper places in Makefile
- Remove PLIST_SUB, no subs needed
- Define DOCS option, port uses PORTDOCS
- Switch to PLIST_FILES, port installs only 3 files
- Remove Author tag from pkg-descr file

PR:		197348 [1]
Submitted by:	timp87@gmail.com [1]
Approved by:	maintainer timeout
2015-02-21 15:13:15 +00:00

38 lines
895 B
Makefile

# Created by: sergey@migsoft.com.ua
# $FreeBSD$
PORTNAME= mysql-connector-odbc
PORTVERSION= 5.3.4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= Connector-ODBC/5.3
PKGNAMESUFFIX= -${DRIVER_MANAGER}-mysql${MYSQL_VER}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= sergey@network-asp.biz
COMMENT= ODBC driver for MySQL${MYSQL_VER} / ${DRIVER_MANAGER}
BUILD_DEPENDS= unixODBC>=2.2.14_1:${PORTSDIR}/databases/unixODBC
LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC
USE_LDCONFIG= yes
USE_MYSQL= yes
USES= cmake
IGNORE_WITH_MYSQL= 55 51
CMAKE_ARGS= -DWITH_UNIXODBC=1
LDFLAGS+= -L${LOCALBASE}/lib
DRIVER_MANAGER= unixodbc
PORTDOCS= ChangeLog INSTALL \
README README.debug COPYING Licenses_for_Third-Party_Components.txt
PLIST_FILES= bin/myodbc-installer \
lib/libmyodbc5a.so \
lib/libmyodbc5w.so
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>