blob: 4dba1526df14b0f8c0e1f4058026cf09476b270e (
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
25
26
27
28
29
30
|
# 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>
|