summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-24 22:19:43 +0000
committerrecht <recht@pkgsrc.org>2004-07-24 22:19:43 +0000
commita5001b4d1f4627b2e601371ada8475b6bee15a3d (patch)
tree41ed20538385ab442c10f114f0956e61262444ae /databases
parent6bc2020a9d427f1ddf40376feef34354cd734b48 (diff)
downloadpkgsrc-a5001b4d1f4627b2e601371ada8475b6bee15a3d.tar.gz
reimport of postgresql-pltcl as postgresql73-pltcl
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.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql73-pltcl/DESCR4
-rw-r--r--databases/postgresql73-pltcl/MESSAGE7
-rw-r--r--databases/postgresql73-pltcl/Makefile23
-rw-r--r--databases/postgresql73-pltcl/PLIST6
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/postgresql73-pltcl/DESCR b/databases/postgresql73-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql73-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/postgresql73-pltcl/MESSAGE b/databases/postgresql73-pltcl/MESSAGE
new file mode 100644
index 00000000000..710fdfd3fc9
--- /dev/null
+++ b/databases/postgresql73-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/07/24 22:19:43 recht 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/postgresql73-pltcl/Makefile b/databases/postgresql73-pltcl/Makefile
new file mode 100644
index 00000000000..ff1aa416fb8
--- /dev/null
+++ b/databases/postgresql73-pltcl/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:19:43 recht Exp $
+
+PKGNAME= postgresql73-pltcl-${BASE_VERS}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql73-server>=${BASE_VERS}:../../databases/postgresql73-server
+
+USE_BUILDLINK3= yes
+
+.include "../postgresql73/Makefile.common"
+
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+CONFIGURE_ARGS+= --with-tcl
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
+CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${LOCALBASE}/bin/tclsh
+
+BUILD_DIRS= ${WRKSRC}/src/pl/tcl
+
+.include "../postgresql73-lib/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql73-pltcl/PLIST b/databases/postgresql73-pltcl/PLIST
new file mode 100644
index 00000000000..79c7b862d69
--- /dev/null
+++ b/databases/postgresql73-pltcl/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:19:43 recht Exp $
+bin/pltcl_delmod
+bin/pltcl_listmod
+bin/pltcl_loadmod
+lib/postgresql/pltcl.so
+share/postgresql/unknown.pltcl