summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2002-02-19 08:34:40 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2002-02-19 08:34:40 +0000
commit5b7be4ff8a266abd5fdcad93f1e081dd57ff9eda (patch)
treed754df38c20a963ca4de4991650d7c6895c31b6a /databases
parentAllow this to build on releng4 again. (diff)
This is a port of the PL/Perl module that is part of the
postgresql-7.2 distribution. PR: ports/34858 Submitted by: Palle Girgensohn <girgen@partitur.se>
Notes
Notes: svn path=/head/; revision=54890
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-postgresql-plperl/Makefile29
-rw-r--r--databases/p5-postgresql-plperl/pkg-comment1
-rw-r--r--databases/p5-postgresql-plperl/pkg-descr7
-rw-r--r--databases/p5-postgresql-plperl/pkg-message3
-rw-r--r--databases/p5-postgresql-plperl/pkg-plist2
6 files changed, 43 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c71de80cbdab..c52fd3f946eb 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -86,6 +86,7 @@
SUBDIR += p5-Text-Query-SQL
SUBDIR += p5-Tie-DBI
SUBDIR += p5-hp200lx-db
+ SUBDIR += p5-postgresql-plperl
SUBDIR += p5-sqlrelay
SUBDIR += php-sqlrelay
SUBDIR += phpmyadmin
diff --git a/databases/p5-postgresql-plperl/Makefile b/databases/p5-postgresql-plperl/Makefile
new file mode 100644
index 000000000000..977e0b4955cd
--- /dev/null
+++ b/databases/p5-postgresql-plperl/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: PostgreSQL JDBC
+# Date created: January 14, 2002
+# Whom: Palle Girgensohn <girgen@partitur.se>
+#
+# $FreeBSD$
+#
+
+PORTNAME= postgresql-plperl
+PORTVERSION= 7.2
+CATEGORIES= databases perl5
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= girgen@partitur.se
+
+POSTGRESQL_SUBPORT=YES
+.include <${.CURDIR}/../postgresql7/Makefile>
+
+RUN_DEPENDS= postgres:${PORTSDIR}/databases/postgresql7
+
+USE_PERL5= yes
+CONFIGURE_ARGS= --with-perl
+
+MAKE_ARGS+= -C src/pl/plperl
+MAKEFILE= GNUmakefile
+
+post-install:
+ @ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/databases/p5-postgresql-plperl/pkg-comment b/databases/p5-postgresql-plperl/pkg-comment
new file mode 100644
index 000000000000..f874869e9363
--- /dev/null
+++ b/databases/p5-postgresql-plperl/pkg-comment
@@ -0,0 +1 @@
+A module for using Perl5 to write SQL functions
diff --git a/databases/p5-postgresql-plperl/pkg-descr b/databases/p5-postgresql-plperl/pkg-descr
new file mode 100644
index 000000000000..84d32c9d7848
--- /dev/null
+++ b/databases/p5-postgresql-plperl/pkg-descr
@@ -0,0 +1,7 @@
+PL/Perl allows you to write PostgreSQL functions and procedures in
+Perl. Consult the PostgreSQL User's Guide and the INSTALL file in the
+top-level directory of the source distribution for more information.
+
+This software is part of the standard PostgreSQL distribution.
+
+WWW: http://www.postgresql.org/
diff --git a/databases/p5-postgresql-plperl/pkg-message b/databases/p5-postgresql-plperl/pkg-message
new file mode 100644
index 000000000000..5d0c83920563
--- /dev/null
+++ b/databases/p5-postgresql-plperl/pkg-message
@@ -0,0 +1,3 @@
+PL/Perl has been installed. Check the createlang(l) manpage for more
+info. You can install PL/Perl as trusted or untrusted, by using either
+"createlang plperl" or "createlang plperlu".
diff --git a/databases/p5-postgresql-plperl/pkg-plist b/databases/p5-postgresql-plperl/pkg-plist
new file mode 100644
index 000000000000..56bb75060a28
--- /dev/null
+++ b/databases/p5-postgresql-plperl/pkg-plist
@@ -0,0 +1,2 @@
+lib/postgresql/plperl.so
+@unexec rmdir %D/lib/postgresql 2>/dev/null || true