aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-07-23 22:45:52 +0800
committerkrion <krion@FreeBSD.org>2003-07-23 22:45:52 +0800
commit9f634af904816147f474abe308967114a1e1d639 (patch)
treed917c65fd43e1b8c1a152b0b81fa7bd686a47b74
parent3f2d75a1fa56ba1aa547298957e24d713725b072 (diff)
downloadfreebsd-ports-gnome-9f634af904816147f474abe308967114a1e1d639.tar.gz
freebsd-ports-gnome-9f634af904816147f474abe308967114a1e1d639.tar.zst
freebsd-ports-gnome-9f634af904816147f474abe308967114a1e1d639.zip
New port databases/p5-Class-DBI-Pg
Class::DBI::Pg automate the setup of Class::DBI columns and primary key for Postgres. PR: 54725 Submitted by: Mathieu Arnold <m@absolight.net> Approved by: fjoe (mentor) (implicit)
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-Pg/Makefile26
-rw-r--r--databases/p5-Class-DBI-Pg/distinfo1
-rw-r--r--databases/p5-Class-DBI-Pg/pkg-descr7
-rw-r--r--databases/p5-Class-DBI-Pg/pkg-plist7
5 files changed, 42 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index e19c4882ef42..c03300d3ae70 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -83,6 +83,7 @@
SUBDIR += p5-Class-DBI
SUBDIR += p5-Class-DBI-AbstractSearch
SUBDIR += p5-Class-DBI-Pager
+ SUBDIR += p5-Class-DBI-Pg
SUBDIR += p5-Class-DBI-SAK
SUBDIR += p5-Class-DBI-SQLite
SUBDIR += p5-Data-Page
diff --git a/databases/p5-Class-DBI-Pg/Makefile b/databases/p5-Class-DBI-Pg/Makefile
new file mode 100644
index 000000000000..c5c344cbc91d
--- /dev/null
+++ b/databases/p5-Class-DBI-Pg/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Class-DBI-Pg
+# Date created: 21 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-Pg
+PORTVERSION= 0.02
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Extensions to Class::DBI for PostgreSQL
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::Pg.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Class-DBI-Pg/distinfo b/databases/p5-Class-DBI-Pg/distinfo
new file mode 100644
index 000000000000..8d33f14ea47e
--- /dev/null
+++ b/databases/p5-Class-DBI-Pg/distinfo
@@ -0,0 +1 @@
+MD5 (Class-DBI-Pg-0.02.tar.gz) = 21930a84b28290af1907b7bf57de2e7a
diff --git a/databases/p5-Class-DBI-Pg/pkg-descr b/databases/p5-Class-DBI-Pg/pkg-descr
new file mode 100644
index 000000000000..9928a5d1ffce
--- /dev/null
+++ b/databases/p5-Class-DBI-Pg/pkg-descr
@@ -0,0 +1,7 @@
+Class::DBI::Pg automate the setup of Class::DBI columns and primary key for
+Postgres.
+
+select Postgres system catalog and find out all columns, primary key and SERIAL
+type column.
+
+WWW: http://search.cpan.org/dist/Class-DBI-Pg/
diff --git a/databases/p5-Class-DBI-Pg/pkg-plist b/databases/p5-Class-DBI-Pg/pkg-plist
new file mode 100644
index 000000000000..f71b54c2c966
--- /dev/null
+++ b/databases/p5-Class-DBI-Pg/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Class/DBI/Pg.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Pg/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Pg
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true