From 98c0b36450e758838e8489ab1616cfc6a9fff504 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 14 May 2001 14:49:38 +0000 Subject: postgresql-pltcl: PL/Tcl procedural language for the PostgreSQL backend. 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. --- databases/postgresql-pltcl/Makefile | 36 ++++++++++++++++++++++++++++++++++ databases/postgresql-pltcl/pkg/DESCR | 4 ++++ databases/postgresql-pltcl/pkg/MESSAGE | 7 +++++++ databases/postgresql-pltcl/pkg/PLIST | 2 ++ 4 files changed, 49 insertions(+) create mode 100644 databases/postgresql-pltcl/Makefile create mode 100644 databases/postgresql-pltcl/pkg/DESCR create mode 100644 databases/postgresql-pltcl/pkg/MESSAGE create mode 100644 databases/postgresql-pltcl/pkg/PLIST (limited to 'databases/postgresql-pltcl') diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile new file mode 100644 index 00000000000..4fd0cd645a4 --- /dev/null +++ b/databases/postgresql-pltcl/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 14:49:38 jlam Exp $ + +.include "../../databases/postgresql/Makefile.common" +.include "../../databases/postgresql/Makefile.ssl" + +PKGNAME= postgresql-pltcl-${PG_VERS} +PG_PKG_VERS= # empty +COMMENT= PL/Tcl procedural language for the PostgreSQL backend + +DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server +DEPENDS+= tcl>=8.3.2:../../lang/tcl + +TCLSH= ${LOCALBASE}/bin/tclsh +TCL_CONFIGDIR= ${LOCALBASE}/lib + +CONFIGURE_ARGS+= --with-tcl +CONFIGURE_ARGS+= --with-tclconfig="${TCL_CONFIGDIR}" +CONFIGURE_ARGS+= --with-includes="${LOCALBASE}/include" +CONFIGURE_ARGS+= --with-libraries="${LOCALBASE}/lib" +CONFIGURE_ENV+= TCLSH="${TCLSH}" + +DIRS_TO_BUILD= src/pl/tcl + +do-build: +.for DIR in ${DIRS_TO_BUILD} + cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET} +.endfor + +do-install: +.for DIR in ${DIRS_TO_BUILD} + cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql-pltcl/pkg/DESCR b/databases/postgresql-pltcl/pkg/DESCR new file mode 100644 index 00000000000..e1aca2980b9 --- /dev/null +++ b/databases/postgresql-pltcl/pkg/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/postgresql-pltcl/pkg/MESSAGE b/databases/postgresql-pltcl/pkg/MESSAGE new file mode 100644 index 00000000000..6f3cf9c8974 --- /dev/null +++ b/databases/postgresql-pltcl/pkg/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2001/05/14 14:49:38 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/postgresql-pltcl/pkg/PLIST b/databases/postgresql-pltcl/pkg/PLIST new file mode 100644 index 00000000000..fbd13982251 --- /dev/null +++ b/databases/postgresql-pltcl/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 14:49:38 jlam Exp $ +lib/pltcl.so -- cgit v1.2.3