summaryrefslogtreecommitdiff
path: root/databases/postgresql96-pltcl
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql96-pltcl')
-rw-r--r--databases/postgresql96-pltcl/DESCR4
-rw-r--r--databases/postgresql96-pltcl/MESSAGE7
-rw-r--r--databases/postgresql96-pltcl/Makefile20
-rw-r--r--databases/postgresql96-pltcl/PLIST26
4 files changed, 57 insertions, 0 deletions
diff --git a/databases/postgresql96-pltcl/DESCR b/databases/postgresql96-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql96-pltcl/DESCR
@@ -0,0 +1,4 @@
+PL/Tcl is a dynamic loadable extension for the PostgreSQL database system
+that enables the Tcl language to be used to create functions and
+trigger-procedures. It offers most of the capabilities a function
+writer has in the C language.
diff --git a/databases/postgresql96-pltcl/MESSAGE b/databases/postgresql96-pltcl/MESSAGE
new file mode 100644
index 00000000000..e134b6fa696
--- /dev/null
+++ b/databases/postgresql96-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+Please see the PL/Tcl section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+===========================================================================
diff --git a/databases/postgresql96-pltcl/Makefile b/databases/postgresql96-pltcl/Makefile
new file mode 100644
index 00000000000..9b6067c41fc
--- /dev/null
+++ b/databases/postgresql96-pltcl/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/10/29 19:41:55 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/96-pltcl-/}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
+
+.include "../../databases/postgresql96/Makefile.common"
+
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/tcl
+
+.include "../../databases/postgresql96-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql96-pltcl/PLIST b/databases/postgresql96-pltcl/PLIST
new file mode 100644
index 00000000000..22d773c49ff
--- /dev/null
+++ b/databases/postgresql96-pltcl/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/29 19:41:55 adam Exp $
+bin/pltcl_delmod
+bin/pltcl_listmod
+bin/pltcl_loadmod
+lib/postgresql/pltcl.so
+share/locale/cs/LC_MESSAGES/pltcl-9.6.mo
+share/locale/de/LC_MESSAGES/pltcl-9.6.mo
+share/locale/es/LC_MESSAGES/pltcl-9.6.mo
+share/locale/fr/LC_MESSAGES/pltcl-9.6.mo
+share/locale/it/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ja/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ko/LC_MESSAGES/pltcl-9.6.mo
+share/locale/pl/LC_MESSAGES/pltcl-9.6.mo
+share/locale/pt_BR/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ro/LC_MESSAGES/pltcl-9.6.mo
+share/locale/ru/LC_MESSAGES/pltcl-9.6.mo
+share/locale/tr/LC_MESSAGES/pltcl-9.6.mo
+share/locale/zh_CN/LC_MESSAGES/pltcl-9.6.mo
+share/locale/zh_TW/LC_MESSAGES/pltcl-9.6.mo
+share/postgresql/extension/pltcl--1.0.sql
+share/postgresql/extension/pltcl--unpackaged--1.0.sql
+share/postgresql/extension/pltcl.control
+share/postgresql/extension/pltclu--1.0.sql
+share/postgresql/extension/pltclu--unpackaged--1.0.sql
+share/postgresql/extension/pltclu.control
+share/postgresql/unknown.pltcl