summaryrefslogtreecommitdiff
path: root/databases/postgresql17-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql17-client/Makefile')
-rw-r--r--databases/postgresql17-client/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/postgresql17-client/Makefile b/databases/postgresql17-client/Makefile
new file mode 100644
index 000000000000..81e677c1df2b
--- /dev/null
+++ b/databases/postgresql17-client/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= postgresql
+PORTREVISION= 0
+COMMENT= PostgreSQL database (client)
+
+MASTERDIR= ${.CURDIR}/../postgresql17-server
+
+BUILD_DIRS= config src/include src/interfaces src/port src/bin/pg_amcheck \
+ src/bin/pg_dump src/bin/psql src/bin/scripts src/bin/pg_config \
+ src/bin/pgbench src/makefiles src/test/regress
+INSTALL_DIRS= ${BUILD_DIRS}
+
+CLIENT_ONLY= yes
+COMPONENT= -client
+USE_LDCONFIG= yes
+USES= pkgconfig
+
+OPTIONS_DEFINE+=LIBEDIT DOCS
+LIBEDIT_DESC= Use non-GPL libedit instead of readline
+LIBEDIT_CONFIGURE_ON+=--with-libedit-preferred
+LIBEDIT_USES= libedit
+LIBEDIT_USES_OFF=readline
+BUILD_DEPENDS+= docbook-xml>0:textproc/docbook-xml \
+ docbook-xsl>=0:textproc/docbook-xsl \
+ xmllint:textproc/libxml2 \
+ xsltproc:textproc/libxslt
+
+.include "${MASTERDIR}/Makefile"