aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Mojolicious-Plugin-Database
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-16 13:41:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-04-16 13:41:10 +0000
commit05c7c6df63ff292c35a3c2ed2c5b8c327b0206fa (patch)
tree52e58ffc0d102789ce4c8b7f6f0dbbdf022c979d /www/p5-Mojolicious-Plugin-Database
parentbd85539351ca3a92ed976a0de276ff4a9bd486f5 (diff)
downloadports-05c7c6df63ff292c35a3c2ed2c5b8c327b0206fa.tar.gz
ports-05c7c6df63ff292c35a3c2ed2c5b8c327b0206fa.zip
Notes
Diffstat (limited to 'www/p5-Mojolicious-Plugin-Database')
-rw-r--r--www/p5-Mojolicious-Plugin-Database/Makefile31
-rw-r--r--www/p5-Mojolicious-Plugin-Database/distinfo2
-rw-r--r--www/p5-Mojolicious-Plugin-Database/pkg-descr4
-rw-r--r--www/p5-Mojolicious-Plugin-Database/pkg-plist7
4 files changed, 44 insertions, 0 deletions
diff --git a/www/p5-Mojolicious-Plugin-Database/Makefile b/www/p5-Mojolicious-Plugin-Database/Makefile
new file mode 100644
index 000000000000..6ccbb0654734
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-Database/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: p5-Mojolicious-Plugin-Database
+# Date created: 2011-03-29
+# Whom: Henk van Oers <hvo.pm@xs4all.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Mojolicious-Plugin-Database
+PORTVERSION= 0.03
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-v${PORTVERSION}
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Handling of DBI based connections in Mojolicious
+
+RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
+ p5-Mojolicious>=1:${PORTSDIR}/www/p5-Mojolicious
+
+PERL_CONFIGURE= yes
+
+MAN3= Mojolicious::Plugin::Database.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-Mojolicious-Plugin-Database/distinfo b/www/p5-Mojolicious-Plugin-Database/distinfo
new file mode 100644
index 000000000000..1117af3ab88c
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-Database/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Mojolicious-Plugin-Database-v0.03.tar.gz) = 0fe27963e5cf3b1ed22be9d7b70effda07154a8fff641a887c0a911828dfb615
+SIZE (Mojolicious-Plugin-Database-v0.03.tar.gz) = 3030
diff --git a/www/p5-Mojolicious-Plugin-Database/pkg-descr b/www/p5-Mojolicious-Plugin-Database/pkg-descr
new file mode 100644
index 000000000000..e674af04234b
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-Database/pkg-descr
@@ -0,0 +1,4 @@
+Mojolicious::Plugin::Database provides "sane" handling of DBI connections so
+problems with pre-forking (Hypnotoad, etc.) will not occur.
+
+WWW: http://search.cpan.org/dist/Mojolicious-Plugin-Database/
diff --git a/www/p5-Mojolicious-Plugin-Database/pkg-plist b/www/p5-Mojolicious-Plugin-Database/pkg-plist
new file mode 100644
index 000000000000..fd7adba20d55
--- /dev/null
+++ b/www/p5-Mojolicious-Plugin-Database/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Mojolicious/Plugin/Database.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mojolicious/Plugin/Database/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mojolicious/Plugin/Database
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mojolicious/Plugin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Mojolicious
+@dirrmtry %%SITE_PERL%%/Mojolicious/Plugin
+@dirrmtry %%SITE_PERL%%/Mojolicious