mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
This PostgreSQL extension implements a Foreign Data Wrapper (FDW) for MySQL. The following enhancements are added to the mysql_fdw: Write-able FDW Connection Pooling Where clause push-down Column push-down Prepared Statment Please note that this version of mysql_fdw works with PostgreSQL 9.3, 9.4, 9.5 and 9.6. WWW: https://github.com/EnterpriseDB/mysql_fdw PR: 219636 Submitted by: Jov <amutu@amutu.com>
30 lines
661 B
Makefile
30 lines
661 B
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql_fdw
|
|
PORTVERSION= 2.2.0
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
|
|
|
|
MAINTAINER= amutu@amutu.com
|
|
COMMENT= PostgreSQL foreign data wrapper for MySQL
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
USES= gmake pgsql:9.3+ mysql
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= EnterpriseDB
|
|
GH_TAGNAME= c14ee1d
|
|
|
|
MAKE_ENV= USE_PGXS=1
|
|
|
|
WANT_PGSQL= server
|
|
|
|
PLIST_FILES= lib/postgresql/mysql_fdw.so \
|
|
share/postgresql/extension/mysql_fdw--1.0.sql \
|
|
share/postgresql/extension/mysql_fdw.control
|
|
|
|
do-patch:
|
|
${SED} -i '.orig' 's/#if defined(__APPLE__)/& || defined(__FreeBSD__)/' ${WRKSRC}/mysql_fdw.c
|
|
|
|
.include <bsd.port.mk>
|