summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorrecht <recht>2004-07-24 22:18:50 +0000
committerrecht <recht>2004-07-24 22:18:50 +0000
commitcbc222e9ae970d74669c5f0fe403e5170fa225b2 (patch)
treea8dcf9a7011d469687358a9e2f750850c6f6708f /databases
parente513561a48213dcdd2cc96a9573868b3f0d5a810 (diff)
downloadpkgsrc-cbc222e9ae970d74669c5f0fe403e5170fa225b2.tar.gz
reimport of postgresql-plperl as postgresql73-plperl
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/postgresql73-plperl/DESCR5
-rw-r--r--databases/postgresql73-plperl/MESSAGE7
-rw-r--r--databases/postgresql73-plperl/Makefile22
-rw-r--r--databases/postgresql73-plperl/PLIST2
4 files changed, 36 insertions, 0 deletions
diff --git a/databases/postgresql73-plperl/DESCR b/databases/postgresql73-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql73-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/postgresql73-plperl/MESSAGE b/databases/postgresql73-plperl/MESSAGE
new file mode 100644
index 00000000000..0b40ef41b5c
--- /dev/null
+++ b/databases/postgresql73-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/07/24 22:18:50 recht 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/postgresql73-plperl/Makefile b/databases/postgresql73-plperl/Makefile
new file mode 100644
index 00000000000..fcfb589f201
--- /dev/null
+++ b/databases/postgresql73-plperl/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/24 22:18:51 recht Exp $
+
+PKGNAME= postgresql73-plperl-${BASE_VERS}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql73-server>=${BASE_VERS}:../../databases/postgresql73-server
+
+USE_BUILDLINK3= yes
+
+.include "../postgresql73/Makefile.common"
+
+CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
+CONFIGURE_ARGS+= --with-perl
+CONFIGURE_ENV+= PERL="${PERL5}"
+
+BUILD_DIRS= ${WRKSRC}/src/pl/plperl
+MAKEFILE= GNUmakefile
+
+.include "../postgresql73-lib/buildlink3.mk"
+.include "../../lang/libperl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql73-plperl/PLIST b/databases/postgresql73-plperl/PLIST
new file mode 100644
index 00000000000..7e5e7addf4e
--- /dev/null
+++ b/databases/postgresql73-plperl/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/24 22:18:51 recht Exp $
+lib/postgresql/plperl.so