This is a port of the PL/Tcl module of the postgresql-7.2 distribution.

PR:		ports/34859
Submitted by:	Palle Girgensohn <girgen@partitur.se>
This commit is contained in:
Vanilla I. Shu 2002-02-19 08:39:03 +00:00
parent ede6e408c4
commit 03b1c588de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54897
6 changed files with 52 additions and 0 deletions

View File

@ -94,6 +94,7 @@
SUBDIR += postgresql-jdbc
SUBDIR += postgresql-odbc
SUBDIR += postgresql-plruby
SUBDIR += postgresql-pltcl
SUBDIR += postgresql7
SUBDIR += pxtools
SUBDIR += py-MySQL

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: PostgreSQL PL/Tcl
# Date created: January 14, 2002
# Whom: Palle Girgensohn <girgen@partitur.se>
#
# $FreeBSD$
#
PORTNAME= postgresql-pltcl
PORTVERSION= 7.2
CATEGORIES= databases tcl83
MAINTAINER= girgen@partitur.se
POSTGRESQL_SUBPORT=YES
.include <${.CURDIR}/../postgresql7/Makefile>
LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
RUN_DEPENDS= postgres:${PORTSDIR}/databases/postgresql7
# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version
TCLVERSION?= 8.3
CONFIGURE_ARGS= --with-tcl --without-tk \
--with-tclconfig="${TCLCONFIG}" \
--with-includes="${TCL_INCDIR}"
TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION}
TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION}
MAKE_ARGS+= -C src/pl/tcl
MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR}
post-install:
@ ${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
A module for using Tcl to write SQL functions

View File

@ -0,0 +1,6 @@
PL/Tcl allows you to write PostgreSQL stored functions and procedures
in Tcl.
This software is part of the standard PostgreSQL distribution.
WWW: http://www.postgresql.org/

View File

@ -0,0 +1,3 @@
PL/Tcl has been installed. Check the createlang(l) manpage for more
info. You can install pltcl as trusted or untrusted, by using either
"createlang pltcl" or "createlang pltclu".

View File

@ -0,0 +1,7 @@
lib/postgresql/pltcl.so
@unexec rmdir %D/lib/postgresql 2>/dev/null || true
bin/pltcl_loadmod
bin/pltcl_delmod
bin/pltcl_listmod
share/postgresql/unknown.pltcl
@unexec rmdir %D/share/postgresql 2>/dev/null || true