diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql-pltcl/Makefile | 36 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg/DESCR | 4 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg/MESSAGE | 7 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg/PLIST | 2 |
4 files changed, 49 insertions, 0 deletions
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 |