blob: 2cd5caf54c0f6f3c6e7294e53a35c83c58edd912 (
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
31
32
|
# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= mysql_fdw
PORTVERSION= 2.2.0
PORTREVISION= 1
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
LLD_UNSAFE= yes
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>
|