summaryrefslogtreecommitdiff
path: root/databases/postgresql10-pltcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql10-pltcl/Makefile')
-rw-r--r--databases/postgresql10-pltcl/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/postgresql10-pltcl/Makefile b/databases/postgresql10-pltcl/Makefile
new file mode 100644
index 000000000000..dada25c3df80
--- /dev/null
+++ b/databases/postgresql10-pltcl/Makefile
@@ -0,0 +1,30 @@
+# Created by: Palle Girgensohn <girgen@partitur.se>
+# $FreeBSD$
+
+PORTNAME= postgresql
+CATEGORIES= databases tcl
+PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= Module for using Tcl to write SQL functions
+
+MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
+
+WANT_PGSQL_VER?=10
+
+USES+= tcl pgsql:${WANT_PGSQL_VER}
+WANT_PGSQL= server
+
+CONFIGURE_ARGS= --with-tcl --without-tk \
+ --with-tclconfig="${TCL_LIBDIR}" \
+ --with-includes="${TCL_INCLUDEDIR}"
+
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+MAKE_ENV+= TCL_INCDIR="${TCL_INCLUDEDIR}"
+
+BUILD_DIRS= src/backend src/pl/tcl
+INSTALL_DIRS= src/pl/tcl
+SLAVE_ONLY= yes
+COMPONENT= -pltcl
+
+.include "${MASTERDIR}/Makefile"