From 7a7fa673712efa20af5d47f8cd99afbc138710f4 Mon Sep 17 00:00:00 2001 From: mickey Date: Tue, 24 Mar 1998 18:39:37 +0000 Subject: [PATCH] imort from free patch for our postgres stuff locations --- databases/p5-DBD-Pg/Makefile | 28 ++++++++++++++++++++++++++++ databases/p5-DBD-Pg/files/md5 | 1 + databases/p5-DBD-Pg/patches/patch-aa | 11 +++++++++++ databases/p5-DBD-Pg/pkg/COMMENT | 1 + databases/p5-DBD-Pg/pkg/DESCR | 4 ++++ databases/p5-DBD-Pg/pkg/PLIST | 6 ++++++ 6 files changed, 51 insertions(+) create mode 100644 databases/p5-DBD-Pg/Makefile create mode 100644 databases/p5-DBD-Pg/files/md5 create mode 100644 databases/p5-DBD-Pg/patches/patch-aa create mode 100644 databases/p5-DBD-Pg/pkg/COMMENT create mode 100644 databases/p5-DBD-Pg/pkg/DESCR create mode 100644 databases/p5-DBD-Pg/pkg/PLIST diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile new file mode 100644 index 00000000000..826fb425a41 --- /dev/null +++ b/databases/p5-DBD-Pg/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-DBD-Pg +# Version required: 0.62 +# Date created: June 17th 1997 +# Whom: James FitzGibbon +# +# $Id: Makefile,v 1.1.1.1 1998/03/24 18:39:37 mickey Exp $ +# + +DISTNAME= DBD-Pg-0.62 +PKGNAME= p5-DBD-Pg-0.62 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= DBD + +MAINTAINER= jfitz@FreeBSD.ORG + +BUILD_DEPENDS= /usr/lib/perl5/site_perl/DBI.pm:${PORTSDIR}/databases/p5-DBI \ + ${PREFIX}/lib/libpq.so.1.1:${PORTSDIR}/databases/postgresql +CONFIGURE_ENV+= "POSTGRES_HOME=${PREFIX}" + +USE_PERL5= YES + +MAN3= DBD::Pg.3 + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} /usr/bin/perl Makefile.PL + +.include diff --git a/databases/p5-DBD-Pg/files/md5 b/databases/p5-DBD-Pg/files/md5 new file mode 100644 index 00000000000..8c7d08be2ff --- /dev/null +++ b/databases/p5-DBD-Pg/files/md5 @@ -0,0 +1 @@ +MD5 (DBD-Pg-0.62.tar.gz) = fbb6144ad32762d8dae71d40c7af10c5 diff --git a/databases/p5-DBD-Pg/patches/patch-aa b/databases/p5-DBD-Pg/patches/patch-aa new file mode 100644 index 00000000000..1e71ca52523 --- /dev/null +++ b/databases/p5-DBD-Pg/patches/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.PL.orig Tue Mar 24 13:31:50 1998 ++++ Makefile.PL Tue Mar 24 13:32:04 1998 +@@ -38,7 +38,7 @@ + clean => { FILES => 'Pg.xsi' }, + dist => { DIST_DEFAULT => 'clean distcheck disttest ci tardist', + PREOP => '$(MAKE) -f Makefile.old distdir' }, +- INC => "-I$ENV{POSTGRES_HOME}/include -I$Config{archlib}/DBI -I$Config{sitearch}/auto/DBI", ++ INC => "-I$ENV{POSTGRES_HOME}/include/pgsql -I$Config{archlib}/DBI -I$Config{sitearch}/auto/DBI", + LIBS => ["-L$ENV{POSTGRES_HOME}/lib -lpq"], + OBJECT => 'Pg$(OBJ_EXT) dbdimp$(OBJ_EXT)', + ); diff --git a/databases/p5-DBD-Pg/pkg/COMMENT b/databases/p5-DBD-Pg/pkg/COMMENT new file mode 100644 index 00000000000..e9f8398ffe9 --- /dev/null +++ b/databases/p5-DBD-Pg/pkg/COMMENT @@ -0,0 +1 @@ +provides access to PostgreSQL databases through the DBI diff --git a/databases/p5-DBD-Pg/pkg/DESCR b/databases/p5-DBD-Pg/pkg/DESCR new file mode 100644 index 00000000000..3e8efc71040 --- /dev/null +++ b/databases/p5-DBD-Pg/pkg/DESCR @@ -0,0 +1,4 @@ + DBD::Pg is an extension to Perl which allows access to + PostgreSQL databases. It is built on top of the standard + DBI extension and implements some of the methods that DBI + defines. diff --git a/databases/p5-DBD-Pg/pkg/PLIST b/databases/p5-DBD-Pg/pkg/PLIST new file mode 100644 index 00000000000..0581ab18d63 --- /dev/null +++ b/databases/p5-DBD-Pg/pkg/PLIST @@ -0,0 +1,6 @@ +lib/perl5/man/man3/DBD::Pg.3.gz +lib/perl5/site_perl/DBD/Pg.pm +lib/perl5/site_perl/i386-freebsd/auto/DBD/Pg/Pg.bs +lib/perl5/site_perl/i386-freebsd/auto/DBD/Pg/Pg.so +lib/perl5/site_perl/i386-freebsd/auto/DBD/Pg/.packlist +@dirrm lib/perl5/site_perl/i386-freebsd/auto/DBD/Pg