summaryrefslogtreecommitdiffstats
path: root/www/p5-Maypole/files
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-04-08 18:27:19 +0000
committererwin <erwin@FreeBSD.org>2004-04-08 18:27:19 +0000
commit766126c15b03a31e3df49aaca9016e0585a491c2 (patch)
tree23ee19972b5fa239e8506de02dc40a0c9b23c8d4 /www/p5-Maypole/files
parent9678acf2ef06b33d58fcf90c763056fc3cc91179 (diff)
downloadFreeBSD-ports-766126c15b03a31e3df49aaca9016e0585a491c2.zip
FreeBSD-ports-766126c15b03a31e3df49aaca9016e0585a491c2.tar.gz
Add p5-Maypole 1.3, mVC web application framework.
Maypole is an MVC-based web application framework, built around Class::DBI and Template Toolkit. WWW: http://search.cpan.org/~simon/Maypole/ PR: ports/65328 Submitted by: Lars Thegler <lars@thegler.dk>
Diffstat (limited to 'www/p5-Maypole/files')
-rw-r--r--www/p5-Maypole/files/patch-Makefile.PL22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/p5-Maypole/files/patch-Makefile.PL b/www/p5-Maypole/files/patch-Makefile.PL
new file mode 100644
index 0000000..4bdad7e
--- /dev/null
+++ b/www/p5-Maypole/files/patch-Makefile.PL
@@ -0,0 +1,22 @@
+--- Makefile.PL.orig Thu Mar 25 13:33:42 2004
++++ Makefile.PL Thu Apr 8 18:13:57 2004
+@@ -20,14 +20,17 @@
+ Template => 0,
+ }, # e.g., Module::Name => 1.1
+ ($] >= 5.005 ? ## Add these new keywords supported since 5.005
+- (ABSTRACT_FROM => 'lib/Apache/MVC.pm', # retrieve abstract from module
++ (ABSTRACT_FROM => 'lib/Maypole.pm', # retrieve abstract from module
+ AUTHOR => 'Simon Cozens <simon@simon-cozens.org>') : ()),
+ );
+
+ if (!-e "t/beerdb.db") {
+ print "Making SQLite DB\n";
+ eval { require DBD::SQLite };
+- die "No, wait, we don't have SQLite installed. Never mind\n" if $@;
++ if ($@) {
++ warn "No, wait, we don't have SQLite installed. Never mind\n";
++ exit;
++ }
+ require DBI;
+ my $dbh = DBI->connect("dbi:SQLite:dbname=t/beerdb.db");
+
OpenPOWER on IntegriCloud