aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI/Makefile36
-rw-r--r--databases/p5-Class-DBI/distinfo1
-rw-r--r--databases/p5-Class-DBI/pkg-comment1
-rw-r--r--databases/p5-Class-DBI/pkg-descr15
-rw-r--r--databases/p5-Class-DBI/pkg-plist7
6 files changed, 61 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 3269353ee90b..5f96cf0fcb5f 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -63,6 +63,7 @@
SUBDIR += p5-BerkeleyDB
SUBDIR += p5-CDB_File
SUBDIR += p5-CDB_File-Generator
+ SUBDIR += p5-Class-DBI
SUBDIR += p5-DBD-CSV
SUBDIR += p5-DBD-InterBase
SUBDIR += p5-DBD-mysql
diff --git a/databases/p5-Class-DBI/Makefile b/databases/p5-Class-DBI/Makefile
new file mode 100644
index 000000000000..2449aca3db03
--- /dev/null
+++ b/databases/p5-Class-DBI/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: Class-DBI
+# Date created: 15 Dec 2001
+# Whom: Sergey Skvortsov <skv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI
+PORTVERSION= 0.86
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/DBD/CSV.pm:${PORTSDIR}/databases/p5-DBD-CSV \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Ima/DBI.pm:${PORTSDIR}/databases/p5-Ima-DBI \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/protected.pm:${PORTSDIR}/devel/p5-Class-Fields \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Trigger.pm:${PORTSDIR}/devel/p5-Class-Trigger
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Class::DBI.3
+
+post-configure:
+# dirty hack to deceive irritable pod2man
+ @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 --lax/;' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Class-DBI/distinfo b/databases/p5-Class-DBI/distinfo
new file mode 100644
index 000000000000..56c5a8277e8c
--- /dev/null
+++ b/databases/p5-Class-DBI/distinfo
@@ -0,0 +1 @@
+MD5 (Class-DBI-0.86.tar.gz) = 6855d1532296332623fc0da0da6c4b41
diff --git a/databases/p5-Class-DBI/pkg-comment b/databases/p5-Class-DBI/pkg-comment
new file mode 100644
index 000000000000..688ea49a1d53
--- /dev/null
+++ b/databases/p5-Class-DBI/pkg-comment
@@ -0,0 +1 @@
+Simple Database Abstraction
diff --git a/databases/p5-Class-DBI/pkg-descr b/databases/p5-Class-DBI/pkg-descr
new file mode 100644
index 000000000000..629e497f8dc0
--- /dev/null
+++ b/databases/p5-Class-DBI/pkg-descr
@@ -0,0 +1,15 @@
+Although the difficulties in serialising objects to a relational
+database are well documented, we often find outselves using such a
+database to store the data that will make up the objects in our system.
+
+Thus we end up writing many classes, each mapping to a table in our
+database, and each containing accessor and mutator methods for each of
+the columns. We then write simple constructors, search methods and the
+like for each these classes.
+
+Class::DBI is here to make this task trivial.
+
+WWW: http://search.cpan.org/search?dist=Class-DBI
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/databases/p5-Class-DBI/pkg-plist b/databases/p5-Class-DBI/pkg-plist
new file mode 100644
index 000000000000..24cfe7dd49d9
--- /dev/null
+++ b/databases/p5-Class-DBI/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/DBI/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Class/DBI.pm
+lib/perl5/site_perl/%%PERL_VER%%/Class/DBI/Iterator.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Class/DBI
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/DBI
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true