aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-mysql_fdw/Makefile
blob: 474d2be74c4f34df78d4f69682d462653a8d6d5a (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
PORTNAME=	mysql_fdw
DISTVERSIONPREFIX=	REL-
DISTVERSION=	2_8_0
CATEGORIES=	databases
PKGNAMEPREFIX=	postgresql${PGSQL_VER:S/.//}-

MAINTAINER=	tz@FreeBSD.org
COMMENT=	PostgreSQL foreign data wrapper for MySQL

LICENSE=	PostgreSQL
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		gmake mysql pgsql:10+
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>