aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2016-10-01 21:05:01 +0800
committerantoine <antoine@FreeBSD.org>2016-10-01 21:05:01 +0800
commit342e1764f06b983a9bd9b0d9a0de919ee637b1da (patch)
treedf428a944279f7b3b2f79770a03f5cf407579314 /databases
parente7252dc2343260ed6bef073c14d4ee42d8e71f6b (diff)
downloadfreebsd-ports-gnome-342e1764f06b983a9bd9b0d9a0de919ee637b1da.tar.gz
freebsd-ports-gnome-342e1764f06b983a9bd9b0d9a0de919ee637b1da.tar.zst
freebsd-ports-gnome-342e1764f06b983a9bd9b0d9a0de919ee637b1da.zip
Modify postgresql9[2-5]-pltcl to include postgresql96-pltcl/Makefile
instead of expired postgresql91-pltcl/Makefile
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"