aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-07-23 22:54:39 +0800
committerkrion <krion@FreeBSD.org>2003-07-23 22:54:39 +0800
commit967fb307c438a608c36a723888290cb0000d5604 (patch)
tree944f15aea18fa4c34912b4f151f2f7940a4646b3
parentbc8baa80bc5af483dad05de15723673cb066f445 (diff)
downloadfreebsd-ports-gnome-967fb307c438a608c36a723888290cb0000d5604.tar.gz
freebsd-ports-gnome-967fb307c438a608c36a723888290cb0000d5604.tar.zst
freebsd-ports-gnome-967fb307c438a608c36a723888290cb0000d5604.zip
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)
-rw-r--r--databases/Makefile1
-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
5 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c03300d3ae70..23da3e04b121 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -84,6 +84,7 @@
SUBDIR += p5-Class-DBI-AbstractSearch
SUBDIR += p5-Class-DBI-Pager
SUBDIR += p5-Class-DBI-Pg
+ SUBDIR += p5-Class-DBI-Replication
SUBDIR += p5-Class-DBI-SAK
SUBDIR += p5-Class-DBI-SQLite
SUBDIR += p5-Data-Page
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