summaryrefslogtreecommitdiff
path: root/databases/libpg_query
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2020-11-21 08:07:20 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2020-11-21 08:07:20 +0000
commit4b27333610f2daf9db640abe817651ef8a07a463 (patch)
treecaf59e18eb607271f416e3c5deb0af0b582edf0f /databases/libpg_query
parentnet/liveMedia: update to 2020.11.20 (diff)
New ports required for gitlab-ce 13.6 upgrade.
Diffstat (limited to 'databases/libpg_query')
-rw-r--r--databases/libpg_query/Makefile27
-rw-r--r--databases/libpg_query/distinfo3
-rw-r--r--databases/libpg_query/pkg-descr6
3 files changed, 36 insertions, 0 deletions
diff --git a/databases/libpg_query/Makefile b/databases/libpg_query/Makefile
new file mode 100644
index 000000000000..e76880d5680f
--- /dev/null
+++ b/databases/libpg_query/Makefile
@@ -0,0 +1,27 @@
+# Created by: Matthias Fechner <mfechner@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libpg_query
+DISTVERSION= 10-1.0.3
+CATEGORIES= databases devel
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= C library for accessing the PostgreSQL parser outside of the server
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gmake pgsql
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= lfittl
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/libpg_query.a ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/pg_query.h ${STAGEDIR}${PREFIX}/include/
+
+PLIST_FILES= include/pg_query.h \
+ lib/libpg_query.a
+
+.include <bsd.port.mk>
diff --git a/databases/libpg_query/distinfo b/databases/libpg_query/distinfo
new file mode 100644
index 000000000000..7719f26c7344
--- /dev/null
+++ b/databases/libpg_query/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1605911735
+SHA256 (lfittl-libpg_query-10-1.0.3_GH0.tar.gz) = 1332761f31c198cb9825e6ccccda0b6a0e57daeb824870e8524df77f1592d149
+SIZE (lfittl-libpg_query-10-1.0.3_GH0.tar.gz) = 1507832
diff --git a/databases/libpg_query/pkg-descr b/databases/libpg_query/pkg-descr
new file mode 100644
index 000000000000..6e04a75b2fc6
--- /dev/null
+++ b/databases/libpg_query/pkg-descr
@@ -0,0 +1,6 @@
+C library for accessing the PostgreSQL parser outside of the server.
+
+This library uses the actual PostgreSQL server source to parse SQL
+queries and return the internal PostgreSQL parse tree.
+
+WWW: https://github.com/lfittl/libpg_query