aboutsummaryrefslogtreecommitdiff
path: root/databases
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
parent76e85e4ee47860d3777ae81272baa8aba793895e (diff)
downloadports-122e6065d536e341d93f0e5c4eed788ba16b4c5d.tar.gz
ports-122e6065d536e341d93f0e5c4eed788ba16b4c5d.zip
Notes
Diffstat (limited to 'databases')
-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