summaryrefslogtreecommitdiff
path: root/databases/postgresql80-pltcl
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-06 06:25:51 +0000
committerjlam <jlam>2005-08-06 06:25:51 +0000
commit3792d73f57e94cdaba870a893982205bf5fc92a6 (patch)
treee6bf2265b6a00923cc1a77cfedbf5d3c4bda070d /databases/postgresql80-pltcl
parent82a5c996910401ca35fb281db4becea03c8cb0d8 (diff)
downloadpkgsrc-3792d73f57e94cdaba870a893982205bf5fc92a6.tar.gz
Import databases/postgresql80-pltcl-8.0.3.
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/postgresql80-pltcl')
-rw-r--r--databases/postgresql80-pltcl/DESCR4
-rw-r--r--databases/postgresql80-pltcl/MESSAGE7
-rw-r--r--databases/postgresql80-pltcl/Makefile23
-rw-r--r--databases/postgresql80-pltcl/PLIST6
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/postgresql80-pltcl/DESCR b/databases/postgresql80-pltcl/DESCR
new file mode 100644
index 00000000000..e1aca2980b9
--- /dev/null
+++ b/databases/postgresql80-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/postgresql80-pltcl/MESSAGE b/databases/postgresql80-pltcl/MESSAGE
new file mode 100644
index 00000000000..0a5647f5a73
--- /dev/null
+++ b/databases/postgresql80-pltcl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/08/06 06:25:51 jlam 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/postgresql80-pltcl/Makefile b/databases/postgresql80-pltcl/Makefile
new file mode 100644
index 00000000000..86c19663e44
--- /dev/null
+++ b/databases/postgresql80-pltcl/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/06 06:25:51 jlam Exp $
+
+PKGNAME= postgresql80-pltcl-${BASE_VERS}
+COMMENT= PL/Tcl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql80-server>=${BASE_VERS}:../../databases/postgresql80-server
+
+.include "../../databases/postgresql80/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_DIRS= ${WRKSRC}/src/pl/tcl
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql80-client/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql80-pltcl/PLIST b/databases/postgresql80-pltcl/PLIST
new file mode 100644
index 00000000000..2dcb6a5f9fc
--- /dev/null
+++ b/databases/postgresql80-pltcl/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/06 06:25:52 jlam Exp $
+${PG_SUBPREFIX}bin/pltcl_delmod
+${PG_SUBPREFIX}bin/pltcl_listmod
+${PG_SUBPREFIX}bin/pltcl_loadmod
+${PG_SUBPREFIX}lib/postgresql/pltcl.la
+${PG_SUBPREFIX}share/postgresql/unknown.pltcl