summaryrefslogtreecommitdiff
path: root/databases/postgresql95-plperl
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql95-plperl')
-rw-r--r--databases/postgresql95-plperl/DESCR5
-rw-r--r--databases/postgresql95-plperl/MESSAGE7
-rw-r--r--databases/postgresql95-plperl/Makefile30
-rw-r--r--databases/postgresql95-plperl/PLIST25
4 files changed, 67 insertions, 0 deletions
diff --git a/databases/postgresql95-plperl/DESCR b/databases/postgresql95-plperl/DESCR
new file mode 100644
index 00000000000..9057591c0ba
--- /dev/null
+++ b/databases/postgresql95-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/postgresql95-plperl/MESSAGE b/databases/postgresql95-plperl/MESSAGE
new file mode 100644
index 00000000000..4a642d717c8
--- /dev/null
+++ b/databases/postgresql95-plperl/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/02/25 21:37:36 tnn 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/postgresql95-plperl/Makefile b/databases/postgresql95-plperl/Makefile
new file mode 100644
index 00000000000..5e8caaa45ab
--- /dev/null
+++ b/databases/postgresql95-plperl/Makefile
@@ -0,0 +1,30 @@
+#$ $NetBSD: Makefile,v 1.1 2016/02/25 21:37:36 tnn Exp $
+
+PKGNAME= ${DISTNAME:C/-/95-plperl-/}
+COMMENT= PL/Perl procedural language for the PostgreSQL backend
+
+DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server
+
+.include "../../databases/postgresql95/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
+
+# There is some dependency ordering problem in the Makefile,
+# so force the headers to be generated first.
+BUILD_TARGET= perlchunks.h plperl_opmask.h all
+
+#.PHONY: build-hstore_plperl
+#post-build: build-hstore_plperl
+#build-hstore_plperl:
+# cd ${WRKSRC}/contrib/hstore_plperl && \
+# ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -f Makefile all
+
+.include "../../databases/postgresql95-client/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql95-plperl/PLIST b/databases/postgresql95-plperl/PLIST
new file mode 100644
index 00000000000..cfd8f86ab00
--- /dev/null
+++ b/databases/postgresql95-plperl/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2016/02/25 21:37:36 tnn Exp $
+include/postgresql/server/plperl.h
+include/postgresql/server/ppport.h
+lib/postgresql/plperl.so
+share/locale/cs/LC_MESSAGES/plperl-9.5.mo
+share/locale/de/LC_MESSAGES/plperl-9.5.mo
+share/locale/es/LC_MESSAGES/plperl-9.5.mo
+share/locale/fr/LC_MESSAGES/plperl-9.5.mo
+share/locale/it/LC_MESSAGES/plperl-9.5.mo
+share/locale/ja/LC_MESSAGES/plperl-9.5.mo
+share/locale/ko/LC_MESSAGES/plperl-9.5.mo
+share/locale/pl/LC_MESSAGES/plperl-9.5.mo
+share/locale/pt_BR/LC_MESSAGES/plperl-9.5.mo
+share/locale/ro/LC_MESSAGES/plperl-9.5.mo
+share/locale/ru/LC_MESSAGES/plperl-9.5.mo
+share/locale/sv/LC_MESSAGES/plperl-9.5.mo
+share/locale/tr/LC_MESSAGES/plperl-9.5.mo
+share/locale/zh_CN/LC_MESSAGES/plperl-9.5.mo
+share/locale/zh_TW/LC_MESSAGES/plperl-9.5.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