summaryrefslogtreecommitdiff
path: root/databases/postgresql91-pltcl
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-09-15 08:27:38 +0000
committeradam <adam@pkgsrc.org>2011-09-15 08:27:38 +0000
commitbfd12bfb1edc31693ca2b3ac46752e60f3f5f362 (patch)
treee4278cd9abc25bd225f1dd7ef33d4023332332b6 /databases/postgresql91-pltcl
parentd162e8d1617159d190abd1e6ec4d1fdca0c6bdb2 (diff)
downloadpkgsrc-bfd12bfb1edc31693ca2b3ac46752e60f3f5f362.tar.gz
Version 9.1 delivers several features which users have been requesting for
years, removing roadblocks to deploying new or ported applications on PostgreSQL. These include: * Synchronous Replication: enable high-availability with consistency across multiple servers * Per-Column Collations: support linguistically-correct sorting per database, table or column. * Unlogged Tables: greatly improves performance for ephemeral data Our community of contributors innovates with cutting-edge features. Version 9.1 includes several which are new to the database industry, such as: * K-Nearest-Neighbor Indexing: index on "distance" for faster location and text search queries * Serializable Snapshot Isolation: keeps concurrent transactions consistent without blocking, using "true serializability" * Writeable Common Table Expressions: execute complex multi-stage data updates in a single query * Security-Enhanced Postgres: deploy military-grade security and Mandatory Access Control
Diffstat (limited to 'databases/postgresql91-pltcl')
-rw-r--r--databases/postgresql91-pltcl/DESCR4
-rw-r--r--databases/postgresql91-pltcl/MESSAGE7
-rw-r--r--databases/postgresql91-pltcl/Makefile22
-rw-r--r--databases/postgresql91-pltcl/PLIST24
4 files changed, 57 insertions, 0 deletions
diff --git a/databases/postgresql91-pltcl/DESCR b/databases/postgresql91-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql91-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/postgresql91-pltcl/MESSAGE b/databases/postgresql91-pltcl/MESSAGE
new file mode 100644
index 00000000000..d5dc1b2bb20
--- /dev/null
+++ b/databases/postgresql91-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2011/09/15 08:32:01 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/postgresql91-pltcl/Makefile b/databases/postgresql91-pltcl/Makefile
new file mode 100644
index 00000000000..4c0cc0378ec
--- /dev/null
+++ b/databases/postgresql91-pltcl/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/15 08:32:01 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/91-pltcl-/}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= postgresql91-server>=${PKGVERSION_NOREV}:../../databases/postgresql91-server
+
+.include "../../databases/postgresql91/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/postgresql91-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql91-pltcl/PLIST b/databases/postgresql91-pltcl/PLIST
new file mode 100644
index 00000000000..79c6fcdc07f
--- /dev/null
+++ b/databases/postgresql91-pltcl/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/15 08:32:01 adam Exp $
+bin/pltcl_delmod
+bin/pltcl_listmod
+bin/pltcl_loadmod
+lib/postgresql/pltcl.so
+share/locale/cs/LC_MESSAGES/pltcl-9.1.mo
+share/locale/de/LC_MESSAGES/pltcl-9.1.mo
+share/locale/es/LC_MESSAGES/pltcl-9.1.mo
+share/locale/fr/LC_MESSAGES/pltcl-9.1.mo
+share/locale/it/LC_MESSAGES/pltcl-9.1.mo
+share/locale/ja/LC_MESSAGES/pltcl-9.1.mo
+share/locale/pl/LC_MESSAGES/pltcl-9.1.mo
+share/locale/pt_BR/LC_MESSAGES/pltcl-9.1.mo
+share/locale/ro/LC_MESSAGES/pltcl-9.1.mo
+share/locale/tr/LC_MESSAGES/pltcl-9.1.mo
+share/locale/zh_CN/LC_MESSAGES/pltcl-9.1.mo
+share/locale/zh_TW/LC_MESSAGES/pltcl-9.1.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