summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2005-08-06 06:24:31 +0000
committerjlam <jlam>2005-08-06 06:24:31 +0000
commit380a5c11b61bc0085887e2864a699afc0b836d61 (patch)
treeb2d5df232a4f3365747e48d2ffd08790686b4c80 /databases
parent1fb74ec3cdd77b6e24fbc2c53a3750b70d73336a (diff)
downloadpkgsrc-380a5c11b61bc0085887e2864a699afc0b836d61.tar.gz
Import lang/postgresql80-plperl-8.0.3.
PL/Perl allows you to write functions in the Perl programming language that may be used in SQL queries as if they were built into Postgres. The PL/Perl intepreter is a full Perl interpreter. However, certain operations have been disabled in order to maintain the security of the system.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql80-plperl/DESCR5
-rw-r--r--databases/postgresql80-plperl/MESSAGE7
-rw-r--r--databases/postgresql80-plperl/Makefile22
-rw-r--r--databases/postgresql80-plperl/PLIST2
4 files changed, 36 insertions, 0 deletions
diff --git a/databases/postgresql80-plperl/DESCR b/databases/postgresql80-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql80-plperl/DESCR
@@ -0,0 +1,5 @@
+PL/Perl allows you to write functions in the Perl programming language
+that may be used in SQL queries as if they were built into Postgres.
+The PL/Perl intepreter is a full Perl interpreter. However, certain
+operations have been disabled in order to maintain the security of the
+system.
diff --git a/databases/postgresql80-plperl/MESSAGE b/databases/postgresql80-plperl/MESSAGE
new file mode 100644
index 00000000000..957a245cb55
--- /dev/null
+++ b/databases/postgresql80-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/08/06 06:24:31 jlam Exp $
+
+Please see the PL/Perl section of the PostgreSQL Programmer's Guide
+(databases/postgresql-docs) for information on programming with
+${PKGNAME}.
+===========================================================================
diff --git a/databases/postgresql80-plperl/Makefile b/databases/postgresql80-plperl/Makefile
new file mode 100644
index 00000000000..79906205510
--- /dev/null
+++ b/databases/postgresql80-plperl/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/06 06:24:31 jlam Exp $
+
+PKGNAME= postgresql80-plperl-${BASE_VERS}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql80-server>=${BASE_VERS}:../../databases/postgresql80-server
+
+.include "../../databases/postgresql80/Makefile.common"
+
+PERL5_CONFIGURE= NO
+CONFIGURE_ARGS+= --with-perl
+
+BUILD_DIRS= ${WRKSRC}/src/pl/plperl
+MAKEFILE= GNUmakefile
+
+USE_LIBTOOL= yes
+PKG_LIBTOOL= ${PKG_SHLIBTOOL}
+
+.include "../../databases/postgresql80-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql80-plperl/PLIST b/databases/postgresql80-plperl/PLIST
new file mode 100644
index 00000000000..10607e55e13
--- /dev/null
+++ b/databases/postgresql80-plperl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/06 06:24:31 jlam Exp $
+${PG_SUBPREFIX}lib/postgresql/plperl.la