diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-14 14:48:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-14 14:48:43 +0000 |
commit | 763c8736f0a2300d11be3f9147d72226bda4bf48 (patch) | |
tree | 599995871b4229e069b9c1f83e14e62f5de58329 /databases | |
parent | ab24fd787cd477db3e8d07c7e0bd1c6a6aa5ab4b (diff) | |
download | pkgsrc-763c8736f0a2300d11be3f9147d72226bda4bf48.tar.gz |
postgresql-plperl: PL/Perl procedural language for the PostgreSQL backend.
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/postgresql-plperl/Makefile | 39 | ||||
-rw-r--r-- | databases/postgresql-plperl/pkg/DESCR | 5 | ||||
-rw-r--r-- | databases/postgresql-plperl/pkg/MESSAGE | 7 | ||||
-rw-r--r-- | databases/postgresql-plperl/pkg/PLIST | 2 |
4 files changed, 53 insertions, 0 deletions
diff --git a/databases/postgresql-plperl/Makefile b/databases/postgresql-plperl/Makefile new file mode 100644 index 00000000000..40a863dd16c --- /dev/null +++ b/databases/postgresql-plperl/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 14:48:44 jlam Exp $ + +.include "../../databases/postgresql/Makefile.common" +.include "../../databases/postgresql/Makefile.ssl" + +PKGNAME= postgresql-plperl-${PG_VERS} +PG_PKG_VERS= # empty +COMMENT= PL/Perl procedural language for the PostgreSQL backend + +DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server +DEPENDS+= libperl>=${LIBPERL5_REQD}:../../lang/libperl + +USE_PERL5= # defined +LIBPERL5_REQD= ${PERL5_REQD} + +CONFIGURE_ARGS+= --with-perl +CONFIGURE_ENV+= PERL="${PERL5}" + +.if (${OBJECT_FMT} == "ELF") +MAKE_ENV+= RPATH_LDFLAGS="-Wl,-R${PERL5_ARCHLIB}/CORE" +.else +MAKE_ENV+= RPATH_LDFLAGS="-R${PERL5_ARCHLIB}/CORE" +.endif + +DIRS_TO_BUILD= src/pl/plperl + +do-build: +.for DIR in ${DIRS_TO_BUILD} + cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET} +.endfor + +do-install: +.for DIR in ${DIRS_TO_BUILD} + cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} +.endfor + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql-plperl/pkg/DESCR b/databases/postgresql-plperl/pkg/DESCR new file mode 100644 index 00000000000..9057591c0ba --- /dev/null +++ b/databases/postgresql-plperl/pkg/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/postgresql-plperl/pkg/MESSAGE b/databases/postgresql-plperl/pkg/MESSAGE new file mode 100644 index 00000000000..6f76eb16ad4 --- /dev/null +++ b/databases/postgresql-plperl/pkg/MESSAGE @@ -0,0 +1,7 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2001/05/14 14:48:44 jlam 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/postgresql-plperl/pkg/PLIST b/databases/postgresql-plperl/pkg/PLIST new file mode 100644 index 00000000000..6b1d90aba21 --- /dev/null +++ b/databases/postgresql-plperl/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 14:48:44 jlam Exp $ +lib/plperl.so |