diff options
author | jlam <jlam> | 2001-05-14 14:48:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-14 14:48:43 +0000 |
commit | ed44349f0947df47bbdbfa8b631116c56f11c9ae (patch) | |
tree | 599995871b4229e069b9c1f83e14e62f5de58329 /databases/postgresql-plperl | |
parent | 9420942e5fb78a8290eb7a882211f5447ed3cae3 (diff) | |
download | pkgsrc-ed44349f0947df47bbdbfa8b631116c56f11c9ae.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/postgresql-plperl')
-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 |