From 5b7be4ff8a266abd5fdcad93f1e081dd57ff9eda Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Tue, 19 Feb 2002 08:34:40 +0000 Subject: [PATCH] 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 --- databases/Makefile | 1 + databases/p5-postgresql-plperl/Makefile | 29 ++++++++++++++++++++++ databases/p5-postgresql-plperl/pkg-comment | 1 + databases/p5-postgresql-plperl/pkg-descr | 7 ++++++ databases/p5-postgresql-plperl/pkg-message | 3 +++ databases/p5-postgresql-plperl/pkg-plist | 2 ++ 6 files changed, 43 insertions(+) create mode 100644 databases/p5-postgresql-plperl/Makefile create mode 100644 databases/p5-postgresql-plperl/pkg-comment create mode 100644 databases/p5-postgresql-plperl/pkg-descr create mode 100644 databases/p5-postgresql-plperl/pkg-message create mode 100644 databases/p5-postgresql-plperl/pkg-plist 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 +# +# $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 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