diff options
author | jlam <jlam> | 2001-05-14 15:13:41 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-05-14 15:13:41 +0000 |
commit | e442793ec99dbd85d81b2ddfacaebdb243462b0e (patch) | |
tree | 493630b1ed99fb2c3b818ecee44d6bce8681e502 /databases | |
parent | a9035ae15f3540ea8be795d07181ebaf01abf1e8 (diff) | |
download | pkgsrc-e442793ec99dbd85d81b2ddfacaebdb243462b0e.tar.gz |
Moved p5-pgsql to p5-postgresql.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-postgresql/Makefile | 25 | ||||
-rw-r--r-- | databases/p5-postgresql/distinfo | 5 | ||||
-rw-r--r-- | databases/p5-postgresql/patches/patch-aa | 13 | ||||
-rw-r--r-- | databases/p5-postgresql/pkg/DESCR | 16 | ||||
-rw-r--r-- | databases/p5-postgresql/pkg/PLIST | 1 |
5 files changed, 60 insertions, 0 deletions
diff --git a/databases/p5-postgresql/Makefile b/databases/p5-postgresql/Makefile new file mode 100644 index 00000000000..77a5e3dba7b --- /dev/null +++ b/databases/p5-postgresql/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 15:13:41 jlam Exp $ + +DISTNAME= pgsql_perl5-1.9.0 +PKGNAME= p5-postgresql-1.9.0 +CATEGORIES= databases devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pg/} + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.pobox.com/~gbarr/perl-ldap/ +COMMENT= Perl interface class for PostgreSQL + +DEPENDS+= postgresql-{6.5.3*,7.0*,lib-*}:../../databases/postgresql-lib + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist + +# Until the source catches up to the current Perl API, we need PERL_POLLUTE +# to look like an older perl. +MAKE_PARAMS= DEFINE="-DPERL_POLLUTE=1" +MAKE_PARAMS= POSTGRES_HOME="${LOCALBASE}" + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-postgresql/distinfo b/databases/p5-postgresql/distinfo new file mode 100644 index 00000000000..7882e5fbf77 --- /dev/null +++ b/databases/p5-postgresql/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/05/14 15:13:41 jlam Exp $ + +SHA1 (pgsql_perl5-1.9.0.tar.gz) = 897edd8bbc952796685ee6a0528f9fe13d15550a +Size (pgsql_perl5-1.9.0.tar.gz) = 16860 bytes +SHA1 (patch-aa) = 0e87750d181e72757f5ba4e2f06702481a7dfbd0 diff --git a/databases/p5-postgresql/patches/patch-aa b/databases/p5-postgresql/patches/patch-aa new file mode 100644 index 00000000000..6fefdd79240 --- /dev/null +++ b/databases/p5-postgresql/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 15:13:41 jlam Exp $ + +--- Makefile.PL.orig Tue Nov 28 21:30:41 2000 ++++ Makefile.PL +@@ -14,7 +14,7 @@ + if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) { + die "please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !\n"; + } elsif ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and $ENV{POSTGRES_HOME}) { +- $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include"; ++ $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include/pgsql"; + $POSTGRES_LIB = "$ENV{POSTGRES_HOME}/lib"; + } else { + $POSTGRES_INCLUDE = "$ENV{POSTGRES_INCLUDE}"; diff --git a/databases/p5-postgresql/pkg/DESCR b/databases/p5-postgresql/pkg/DESCR new file mode 100644 index 00000000000..52160233fb8 --- /dev/null +++ b/databases/p5-postgresql/pkg/DESCR @@ -0,0 +1,16 @@ + Pgsql_perl5 is an interface between Larry Wall's language perl +version 5 and the database PostgreSQL (previously Postgres95). This +has been done by using the Perl5 application programming interface +for C extensions which calls the Postgres programmer's interface +LIBPQ. Pgsql_perl5 tries to implement the LIBPQ- interface as close +as possible. + + You have the choice between two different interfaces: the old +C-style like interface and a new one, using a more Perl-ish like +style. The old style has the benefit, that existing Libpq +applications can easily be ported to perl. The new style uses class +packages and might be more familiar for C++- programmers. + + You may distribute this module under the terms of either the GNU +General Public License or the Artistic License, as specified in the +Perl README file. diff --git a/databases/p5-postgresql/pkg/PLIST b/databases/p5-postgresql/pkg/PLIST new file mode 100644 index 00000000000..37bc47d6b34 --- /dev/null +++ b/databases/p5-postgresql/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 15:13:41 jlam Exp $ |