summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2002-02-19 08:39:03 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2002-02-19 08:39:03 +0000
commit03b1c588deccfa90aca0e47cb1f7b03fb7212968 (patch)
tree3c832ca673a67ce496c83c6ad69d6d60c5c7676b /databases
parentUpdate to 0.1.9. (diff)
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>
Notes
Notes: svn path=/head/; revision=54897
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/postgresql-pltcl/Makefile34
-rw-r--r--databases/postgresql-pltcl/pkg-comment1
-rw-r--r--databases/postgresql-pltcl/pkg-descr6
-rw-r--r--databases/postgresql-pltcl/pkg-message3
-rw-r--r--databases/postgresql-pltcl/pkg-plist7
6 files changed, 52 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 606d8af029a0..8e5e425b09e5 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -94,6 +94,7 @@
SUBDIR += postgresql-jdbc
SUBDIR += postgresql-odbc
SUBDIR += postgresql-plruby
+ SUBDIR += postgresql-pltcl
SUBDIR += postgresql7
SUBDIR += pxtools
SUBDIR += py-MySQL
diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile
new file mode 100644
index 000000000000..ce86fac80abb
--- /dev/null
+++ b/databases/postgresql-pltcl/Makefile
@@ -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>
diff --git a/databases/postgresql-pltcl/pkg-comment b/databases/postgresql-pltcl/pkg-comment
new file mode 100644
index 000000000000..b13eb42969be
--- /dev/null
+++ b/databases/postgresql-pltcl/pkg-comment
@@ -0,0 +1 @@
+A module for using Tcl to write SQL functions
diff --git a/databases/postgresql-pltcl/pkg-descr b/databases/postgresql-pltcl/pkg-descr
new file mode 100644
index 000000000000..dbd49eb69164
--- /dev/null
+++ b/databases/postgresql-pltcl/pkg-descr
@@ -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/
diff --git a/databases/postgresql-pltcl/pkg-message b/databases/postgresql-pltcl/pkg-message
new file mode 100644
index 000000000000..0902b858de0b
--- /dev/null
+++ b/databases/postgresql-pltcl/pkg-message
@@ -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".
diff --git a/databases/postgresql-pltcl/pkg-plist b/databases/postgresql-pltcl/pkg-plist
new file mode 100644
index 000000000000..2c4bbd54fb36
--- /dev/null
+++ b/databases/postgresql-pltcl/pkg-plist
@@ -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