summaryrefslogtreecommitdiff
path: root/databases/postgresql92-plperl
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql92-plperl')
-rw-r--r--databases/postgresql92-plperl/DESCR5
-rw-r--r--databases/postgresql92-plperl/MESSAGE7
-rw-r--r--databases/postgresql92-plperl/Makefile20
-rw-r--r--databases/postgresql92-plperl/PLIST20
4 files changed, 52 insertions, 0 deletions
diff --git a/databases/postgresql92-plperl/DESCR b/databases/postgresql92-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql92-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/postgresql92-plperl/MESSAGE b/databases/postgresql92-plperl/MESSAGE
new file mode 100644
index 00000000000..3b44d194c0f
--- /dev/null
+++ b/databases/postgresql92-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2012/10/05 21:03:11 adam 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/postgresql92-plperl/Makefile b/databases/postgresql92-plperl/Makefile
new file mode 100644
index 00000000000..61645ef794f
--- /dev/null
+++ b/databases/postgresql92-plperl/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2012/10/05 21:03:11 adam Exp $
+
+PKGNAME= ${DISTNAME:C/-/92-plperl-/}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql92-server>=${PKGVERSION_NOREV}:../../databases/postgresql92-server
+
+.include "../../databases/postgresql92/Makefile.common"
+
+USE_TOOLS+= perl
+PERL5_CONFIGURE= no
+CONFIGURE_ARGS+= --with-perl
+BUILD_MAKE_FLAGS= PGXS=1
+
+BUILD_DIRS= src/pl/plperl
+MAKE_FILE= GNUmakefile
+
+.include "../../databases/postgresql92-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql92-plperl/PLIST b/databases/postgresql92-plperl/PLIST
new file mode 100644
index 00000000000..17322770bc4
--- /dev/null
+++ b/databases/postgresql92-plperl/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2012/10/05 21:03:11 adam Exp $
+lib/postgresql/plperl.so
+share/locale/cs/LC_MESSAGES/plperl-9.2.mo
+share/locale/de/LC_MESSAGES/plperl-9.2.mo
+share/locale/es/LC_MESSAGES/plperl-9.2.mo
+share/locale/fr/LC_MESSAGES/plperl-9.2.mo
+share/locale/ja/LC_MESSAGES/plperl-9.2.mo
+share/locale/pl/LC_MESSAGES/plperl-9.2.mo
+share/locale/pt_BR/LC_MESSAGES/plperl-9.2.mo
+share/locale/ro/LC_MESSAGES/plperl-9.2.mo
+share/locale/ru/LC_MESSAGES/plperl-9.2.mo
+share/locale/tr/LC_MESSAGES/plperl-9.2.mo
+share/locale/zh_CN/LC_MESSAGES/plperl-9.2.mo
+share/locale/zh_TW/LC_MESSAGES/plperl-9.2.mo
+share/postgresql/extension/plperl--1.0.sql
+share/postgresql/extension/plperl--unpackaged--1.0.sql
+share/postgresql/extension/plperl.control
+share/postgresql/extension/plperlu--1.0.sql
+share/postgresql/extension/plperlu--unpackaged--1.0.sql
+share/postgresql/extension/plperlu.control