summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 01:57:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 01:57:07 +0000
commit7ada3a8cf048ce12f34cb5cda0af38b655d781b6 (patch)
tree580d928b8600d41af2af40e8d74fa915945aac89
parentUpdate port: www/p5-HTML-Mason to latest 1.18 version (diff)
New Port: p5-DBIx-Browse v2.09
The purpose of DBIx::Browse is to handle the browsing of relational tables. DBIx::Browse transparently translates SELECTs, UPDATEs, DELETEs and INSERTs from the desired "human view" to the values needed for the ta- ble. This is the case when you have related tables (1 to n) where the detail table has a reference (FOREIGN KEY) to a generic table (i.e. Customers and Bills) with some index (tipically an integer). PR: ports/47624 Submitted by: Philip M. Gollucci <philip@p6m7g8.com>
Notes
Notes: svn path=/head/; revision=74723
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-Browse/Makefile25
-rw-r--r--databases/p5-DBIx-Browse/distinfo1
-rw-r--r--databases/p5-DBIx-Browse/pkg-comment1
-rw-r--r--databases/p5-DBIx-Browse/pkg-descr13
-rw-r--r--databases/p5-DBIx-Browse/pkg-plist8
6 files changed, 49 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index ab7b5c642af7..9e2786092172 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -91,6 +91,7 @@
SUBDIR += p5-DBI
SUBDIR += p5-DBIWrapper
SUBDIR += p5-DBIx-AnyDBD
+ SUBDIR += p5-DBIx-Browse
SUBDIR += p5-DBIx-DBSchema
SUBDIR += p5-DBIx-DataSource
SUBDIR += p5-DBIx-Password
diff --git a/databases/p5-DBIx-Browse/Makefile b/databases/p5-DBIx-Browse/Makefile
new file mode 100644
index 000000000000..bb24ef780759
--- /dev/null
+++ b/databases/p5-DBIx-Browse/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-DBIx-Browse
+# Date created: January 29th 2003
+# Whom: Philip M. Gollucci <philip@p6m7g8.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-Browse
+PORTVERSION= 2.09
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBIx
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= philip@p6m7g8.com
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+
+PERL_CONFIGURE= yes
+
+MAN3= DBIx::Browse::CGI.3 \
+ DBIx::Browse.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-Browse/distinfo b/databases/p5-DBIx-Browse/distinfo
new file mode 100644
index 000000000000..02545047ffb5
--- /dev/null
+++ b/databases/p5-DBIx-Browse/distinfo
@@ -0,0 +1 @@
+MD5 (DBIx-Browse-2.09.tar.gz) = 1deec1be8a438dc5dc2c28d886c1075b
diff --git a/databases/p5-DBIx-Browse/pkg-comment b/databases/p5-DBIx-Browse/pkg-comment
new file mode 100644
index 000000000000..592fffaafde0
--- /dev/null
+++ b/databases/p5-DBIx-Browse/pkg-comment
@@ -0,0 +1 @@
+DBIx::Browse - Perl extension to browse tables
diff --git a/databases/p5-DBIx-Browse/pkg-descr b/databases/p5-DBIx-Browse/pkg-descr
new file mode 100644
index 000000000000..f4be901d3cef
--- /dev/null
+++ b/databases/p5-DBIx-Browse/pkg-descr
@@ -0,0 +1,13 @@
+The purpose of DBIx::Browse is to handle the browsing of relational
+tables.
+
+DBIx::Browse transparently translates SELECTs, UPDATEs, DELETEs and
+INSERTs from the desired "human view" to the values needed for the ta-
+ble. This is the case when you have related tables (1 to n) where the
+detail table has a reference (FOREIGN KEY) to a generic table (i.e.
+Customers and Bills) with some index (tipically an integer).
+
+
+WWW: http://search.cpan.org/search?dist=DBIx-Browse
+
+Philip M. Gollucci <philip@p6m7g8.com>
diff --git a/databases/p5-DBIx-Browse/pkg-plist b/databases/p5-DBIx-Browse/pkg-plist
new file mode 100644
index 000000000000..a5ab968f8122
--- /dev/null
+++ b/databases/p5-DBIx-Browse/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/Browse.pm
+lib/perl5/site_perl/%%PERL_VER%%/DBIx/Browse/CGI.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/DBIx/Browse/
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Browse/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx/Browse/
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/DBIx 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/DBIx 2>/dev/null || true
+