aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-pltcl
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/postgresql-pltcl
parentede6e408c4a1146efb9173a2e2d2e37b23941a31 (diff)
downloadports-03b1c588deccfa90aca0e47cb1f7b03fb7212968.tar.gz
ports-03b1c588deccfa90aca0e47cb1f7b03fb7212968.zip
Notes
Diffstat (limited to 'databases/postgresql-pltcl')
-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
5 files changed, 51 insertions, 0 deletions
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