aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2006-03-18 23:13:32 +0800
committerlth <lth@FreeBSD.org>2006-03-18 23:13:32 +0800
commita150edc3c70f602b8ba20d7d9cee6ceaeff7b708 (patch)
treeee2eda7f21f47d8dbe3517dc5356ce943ca18df9 /databases
parent04124739c192dd89d5446669bd26bda46960ef3a (diff)
downloadfreebsd-ports-gnome-a150edc3c70f602b8ba20d7d9cee6ceaeff7b708.tar.gz
freebsd-ports-gnome-a150edc3c70f602b8ba20d7d9cee6ceaeff7b708.tar.zst
freebsd-ports-gnome-a150edc3c70f602b8ba20d7d9cee6ceaeff7b708.zip
Add p5-DBIx-MySQLSequence 1.00, proper and correct (emulated) sequence
support for MySQL.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBIx-MySQLSequence/Makefile31
-rw-r--r--databases/p5-DBIx-MySQLSequence/distinfo3
-rw-r--r--databases/p5-DBIx-MySQLSequence/pkg-descr7
-rw-r--r--databases/p5-DBIx-MySQLSequence/pkg-plist5
5 files changed, 47 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index fbc2b03194e8..979d9ac9abb8 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -216,6 +216,7 @@
SUBDIR += p5-DBIx-DBSchema
SUBDIR += p5-DBIx-DataSource
SUBDIR += p5-DBIx-Ease
+ SUBDIR += p5-DBIx-MySQLSequence
SUBDIR += p5-DBIx-Password
SUBDIR += p5-DBIx-Recordset
SUBDIR += p5-DBIx-SQLEngine
diff --git a/databases/p5-DBIx-MySQLSequence/Makefile b/databases/p5-DBIx-MySQLSequence/Makefile
new file mode 100644
index 000000000000..7cd923e6f4ce
--- /dev/null
+++ b/databases/p5-DBIx-MySQLSequence/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: databases/p5-DBIx-MySQLSequence
+# Date created: 18 March 2006
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DBIx-MySQLSequence
+PORTVERSION= 1.00
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DBIx
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Proper and correct (emulated) sequence support for MySQL
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= DBIx::MySQLSequence.3
+
+post-patch:
+ @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
+ @${PERL} -pi -e '$$_="" if m|Install/AutoInstall|' ${WRKSRC}/MANIFEST
+ @${PERL} -pi -e '$$_="" if m/Test::More|auto_install/' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/databases/p5-DBIx-MySQLSequence/distinfo b/databases/p5-DBIx-MySQLSequence/distinfo
new file mode 100644
index 000000000000..f10c1b97498c
--- /dev/null
+++ b/databases/p5-DBIx-MySQLSequence/distinfo
@@ -0,0 +1,3 @@
+MD5 (DBIx-MySQLSequence-1.00.tar.gz) = 893e56b149649bd2b534aad81fdf33d7
+SHA256 (DBIx-MySQLSequence-1.00.tar.gz) = 29ed38f766229399d0a3bb46e19c3a98cd043d46c6f2a513a374bc6f5eb74b51
+SIZE (DBIx-MySQLSequence-1.00.tar.gz) = 28485
diff --git a/databases/p5-DBIx-MySQLSequence/pkg-descr b/databases/p5-DBIx-MySQLSequence/pkg-descr
new file mode 100644
index 000000000000..32ecad230f71
--- /dev/null
+++ b/databases/p5-DBIx-MySQLSequence/pkg-descr
@@ -0,0 +1,7 @@
+The DBIx::MySQLSequence package implements an emulation layer that
+provides "real" sequences on MySQL. The module works by creating a
+"sequence table", a single table where each record represents a
+single sequence, and performing some "magic" MySQL specific SQL to
+ensure the sequences will work correctly.
+
+WWW: http://search.cpan.org/dist/DBIx-MySQLSequence/
diff --git a/databases/p5-DBIx-MySQLSequence/pkg-plist b/databases/p5-DBIx-MySQLSequence/pkg-plist
new file mode 100644
index 000000000000..0d737b64f8a8
--- /dev/null
+++ b/databases/p5-DBIx-MySQLSequence/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/DBIx/MySQLSequence.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/MySQLSequence/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/MySQLSequence
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx
+@dirrmtry %%SITE_PERL%%/DBIx