diff options
author | vanilla <vanilla@FreeBSD.org> | 2002-02-19 16:39:03 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2002-02-19 16:39:03 +0800 |
commit | 833b433a53b4c5e24cddaffc38357bc3947a850e (patch) | |
tree | 9518182646c128aa1072a570741026fdb394d76f /databases/postgresql-pltcl | |
parent | e71d2fb2e87b181f3d040cca76864b9ba0fd4a7f (diff) | |
download | freebsd-ports-gnome-833b433a53b4c5e24cddaffc38357bc3947a850e.tar.gz freebsd-ports-gnome-833b433a53b4c5e24cddaffc38357bc3947a850e.tar.zst freebsd-ports-gnome-833b433a53b4c5e24cddaffc38357bc3947a850e.zip |
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>
Diffstat (limited to 'databases/postgresql-pltcl')
-rw-r--r-- | databases/postgresql-pltcl/Makefile | 34 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg-comment | 1 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg-descr | 6 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg-message | 3 | ||||
-rw-r--r-- | databases/postgresql-pltcl/pkg-plist | 7 |
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 |