summaryrefslogtreecommitdiff
path: root/databases/p5-Class-DBI-Replication
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-07-23 14:54:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-07-23 14:54:39 +0000
commit122e6065d536e341d93f0e5c4eed788ba16b4c5d (patch)
tree56e67ae1d87eb369170b07cf6cf40f59ffd2a691 /databases/p5-Class-DBI-Replication
parentNew port databases/p5-Class-DBI-Pg (diff)
New port databases/p5-Class-DBI-Replication
Classs::DBI::Replication extends Class::DBI's persistence for replicated databases. PR: 54744 Submitted by: Mathieu Arnold <m@absolight.net> Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=85458
Diffstat (limited to 'databases/p5-Class-DBI-Replication')
-rw-r--r--databases/p5-Class-DBI-Replication/Makefile25
-rw-r--r--databases/p5-Class-DBI-Replication/distinfo1
-rw-r--r--databases/p5-Class-DBI-Replication/pkg-descr6
-rw-r--r--databases/p5-Class-DBI-Replication/pkg-plist7
4 files changed, 39 insertions, 0 deletions
diff --git a/databases/p5-Class-DBI-Replication/Makefile b/databases/p5-Class-DBI-Replication/Makefile
new file mode 100644
index 000000000000..00c7f68dfc3e
--- /dev/null
+++ b/databases/p5-Class-DBI-Replication/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Class-DBI-Replication
+# Date created: 22 july 2003
+# Whom: Mathieu Arnold <m@absolight.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-DBI-Replication
+PORTVERSION= 0.01
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= m@absolight.net
+COMMENT= Class::DBI for replicated database
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::Replication.3
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Class-DBI-Replication/distinfo b/databases/p5-Class-DBI-Replication/distinfo
new file mode 100644
index 000000000000..00fa1a28b4ec
--- /dev/null
+++ b/databases/p5-Class-DBI-Replication/distinfo
@@ -0,0 +1 @@
+MD5 (Class-DBI-Replication-0.01.tar.gz) = 7652e695d2066e450f068133a629a125
diff --git a/databases/p5-Class-DBI-Replication/pkg-descr b/databases/p5-Class-DBI-Replication/pkg-descr
new file mode 100644
index 000000000000..4071e2d00745
--- /dev/null
+++ b/databases/p5-Class-DBI-Replication/pkg-descr
@@ -0,0 +1,6 @@
+Classs::DBI::Replication extends Class::DBI's persistence for replicated
+databases.
+
+The idea is very simple. SELECT from slaves, INSERT/UPDATE/DELETE to master.
+
+WWW: http://search.cpan.org/dist/Class-DBI-Replication/
diff --git a/databases/p5-Class-DBI-Replication/pkg-plist b/databases/p5-Class-DBI-Replication/pkg-plist
new file mode 100644
index 000000000000..ea6f6ab52213
--- /dev/null
+++ b/databases/p5-Class-DBI-Replication/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Class/DBI/Replication.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Replication/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Replication
+@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