blob: a382999143db3a1740df9817b29912fcaef2987d (
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 <ports@FreeBSD.org>
# $FreeBSD$
PORTNAME= mysql_fdw
PORTVERSION= 2.2.0
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
MAINTAINER= ports@FreeBSD.org
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>
|