This fixes the build with PostgreSQL 10 and 11 Changes: https://github.com/EnterpriseDB/mysql_fdw/releases PR: 239514
32 lines
777 B
Makefile
32 lines
777 B
Makefile
# Created by: Jov <amutu@amutu.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysql_fdw
|
|
DISTVERSIONPREFIX= REL-
|
|
DISTVERSION= 2_5_1
|
|
CATEGORIES= databases
|
|
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PostgreSQL foreign data wrapper for MySQL
|
|
|
|
LICENSE= PostgreSQL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake pgsql:9.3-11 mysql
|
|
WANT_PGSQL= server
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= EnterpriseDB
|
|
|
|
MAKE_ENV= USE_PGXS=1
|
|
|
|
PLIST_FILES= lib/postgresql/mysql_fdw.so \
|
|
share/postgresql/extension/mysql_fdw--1.0--1.1.sql \
|
|
share/postgresql/extension/mysql_fdw--1.0.sql \
|
|
share/postgresql/extension/mysql_fdw--1.1.sql \
|
|
share/postgresql/extension/mysql_fdw.control
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/mysql_fdw.so
|
|
|
|
.include <bsd.port.mk>
|