aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-10-01 13:05:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-10-01 13:05:01 +0000
commit0c508133451ad8bf972ea7b8c67a6c4afbaa1b34 (patch)
treedf428a944279f7b3b2f79770a03f5cf407579314 /databases
parent008847463282d3b320c2a284731470915d69fd32 (diff)
downloadports-0c508133451ad8bf972ea7b8c67a6c4afbaa1b34.tar.gz
ports-0c508133451ad8bf972ea7b8c67a6c4afbaa1b34.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql92-pltcl/Makefile2
-rw-r--r--databases/postgresql93-pltcl/Makefile2
-rw-r--r--databases/postgresql94-pltcl/Makefile2
-rw-r--r--databases/postgresql95-pltcl/Makefile2
-rw-r--r--databases/postgresql96-pltcl/Makefile28
5 files changed, 30 insertions, 6 deletions
diff --git a/databases/postgresql92-pltcl/Makefile b/databases/postgresql92-pltcl/Makefile
index 28630810b880..69427f0aea22 100644
--- a/databases/postgresql92-pltcl/Makefile
+++ b/databases/postgresql92-pltcl/Makefile
@@ -3,4 +3,4 @@
WANT_PGSQL_VER= 9.2
-.include "${.CURDIR}/../postgresql91-pltcl/Makefile"
+.include "${.CURDIR}/../postgresql96-pltcl/Makefile"
diff --git a/databases/postgresql93-pltcl/Makefile b/databases/postgresql93-pltcl/Makefile
index 58d41f055f93..152049cf3f0f 100644
--- a/databases/postgresql93-pltcl/Makefile
+++ b/databases/postgresql93-pltcl/Makefile
@@ -3,4 +3,4 @@
WANT_PGSQL_VER= 9.3
-.include "${.CURDIR}/../postgresql91-pltcl/Makefile"
+.include "${.CURDIR}/../postgresql96-pltcl/Makefile"
diff --git a/databases/postgresql94-pltcl/Makefile b/databases/postgresql94-pltcl/Makefile
index 103ae06fe73a..c842a75f86e7 100644
--- a/databases/postgresql94-pltcl/Makefile
+++ b/databases/postgresql94-pltcl/Makefile
@@ -3,4 +3,4 @@
WANT_PGSQL_VER= 9.4
-.include "${.CURDIR}/../postgresql91-pltcl/Makefile"
+.include "${.CURDIR}/../postgresql96-pltcl/Makefile"
diff --git a/databases/postgresql95-pltcl/Makefile b/databases/postgresql95-pltcl/Makefile
index 1d2b7a4af20c..709efefafab7 100644
--- a/databases/postgresql95-pltcl/Makefile
+++ b/databases/postgresql95-pltcl/Makefile
@@ -3,4 +3,4 @@
WANT_PGSQL_VER= 9.5
-.include "${.CURDIR}/../postgresql91-pltcl/Makefile"
+.include "${.CURDIR}/../postgresql96-pltcl/Makefile"
diff --git a/databases/postgresql96-pltcl/Makefile b/databases/postgresql96-pltcl/Makefile
index de1b709a393a..1c82014ff78c 100644
--- a/databases/postgresql96-pltcl/Makefile
+++ b/databases/postgresql96-pltcl/Makefile
@@ -1,6 +1,30 @@
# Created by: Palle Girgensohn <girgen@partitur.se>
# $FreeBSD$
-WANT_PGSQL_VER= 9.6
+PORTNAME= postgresql
+CATEGORIES= databases tcl
+PKGNAMESUFFIX?= ${DISTVERSION:R:S/.//}${COMPONENT}
-.include "${.CURDIR}/../postgresql91-pltcl/Makefile"
+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?=9.6
+
+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"