Files
ports/databases/postgresql-ogr_fdw/Makefile
T
Loïc Bartoletti 95b47f6b51 databases/postgresql-ogr_fdw: fix fetch
PR:		295628
Reported by:	Paavo-Einari Kaipila <pkaipila@gmail.com>
2026-05-28 05:34:11 +02:00

39 lines
1004 B
Makefile

PORTNAME= ogr_fdw
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.7
PORTREVISION= 2
CATEGORIES= databases
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
PATCH_SITES= https://github.com/pramsey/pgsql-ogr-fdw/commit/
PATCHFILES= fba0f6f7c97b0c162b996e1796fffb30abe9b38d.patch:-p1
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= PostgreSQL foreign data wrapper for OGR
WWW= https://github.com/pramsey/pgsql-ogr-fdw
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libgdal.so:graphics/gdal
USES= gmake pgsql:11+
WANT_PGSQL= server
USE_GITHUB= yes
GH_ACCOUNT= pramsey
GH_PROJECT= pgsql-ogr-fdw
MAKE_ENV= USE_PGXS=1
PLIST_FILES= bin/ogr_fdw_info \
lib/postgresql/ogr_fdw.so \
share/postgresql/extension/ogr_fdw--1.0--${PORTVERSION:R}.sql \
share/postgresql/extension/ogr_fdw--${PORTVERSION:R}.sql \
share/postgresql/extension/ogr_fdw.control
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ogr_fdw_info
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/ogr_fdw.so
.include <bsd.port.mk>