aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Maypole
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-01-08 19:10:49 +0000
committerLars Thegler <lth@FreeBSD.org>2005-01-08 19:10:49 +0000
commit8076d8b5582b321f24d0623e436f171b5b718ff8 (patch)
tree875d716b7ad8ed52725a45cf6a9a2addeca44a8e /www/p5-Maypole
parent9d2547eb4061c4043afd75bdbbd9594e560cbb74 (diff)
downloadports-8076d8b5582b321f24d0623e436f171b5b718ff8.tar.gz
ports-8076d8b5582b321f24d0623e436f171b5b718ff8.zip
Notes
Diffstat (limited to 'www/p5-Maypole')
-rw-r--r--www/p5-Maypole/Makefile8
-rw-r--r--www/p5-Maypole/distinfo4
-rw-r--r--www/p5-Maypole/files/patch-Makefile.PL31
-rw-r--r--www/p5-Maypole/pkg-plist1
4 files changed, 26 insertions, 18 deletions
diff --git a/www/p5-Maypole/Makefile b/www/p5-Maypole/Makefile
index c8f2274b71fc..6f3248c069f4 100644
--- a/www/p5-Maypole/Makefile
+++ b/www/p5-Maypole/Makefile
@@ -5,10 +5,10 @@
# $FreeBSD$
PORTNAME= Maypole
-PORTVERSION= 2.04
+PORTVERSION= 2.06
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../by-authors/id/S/SR/SRI/
+MASTER_SITE_SUBDIR= ../by-authors/id/S/SI/SIMONFLK
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
@@ -30,7 +30,8 @@ BUILD_DEPENDS= ${SITE_PERL}/Class/DBI/Loader.pm:${PORTSDIR}/databases/p5-Class-D
${SITE_PERL}/Lingua/EN/Inflect/Number.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect-Number \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
- ${SITE_PERL}/CGI/Simple.pm:${PORTSDIR}/www/p5-CGI-Simple
+ ${SITE_PERL}/CGI/Simple.pm:${PORTSDIR}/www/p5-CGI-Simple \
+ ${SITE_PERL}/HTTP/Headers.pm:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= ${BUILD_DEPENDS}
OPTIONS= MODPERL "mod_perl support" on
@@ -61,6 +62,7 @@ MAN3= Apache::MVC.3 \
Maypole::CLI.3 \
Maypole::Config.3 \
Maypole::Constants.3 \
+ Maypole::Headers.3 \
Maypole::Manual.3 \
Maypole::Manual::About.3 \
Maypole::Manual::Beer.3 \
diff --git a/www/p5-Maypole/distinfo b/www/p5-Maypole/distinfo
index 31a88579ea72..c37ebfd36583 100644
--- a/www/p5-Maypole/distinfo
+++ b/www/p5-Maypole/distinfo
@@ -1,2 +1,2 @@
-MD5 (Maypole-2.04.tar.gz) = 85f7ba0825cfbef725dbbbb2025c5b67
-SIZE (Maypole-2.04.tar.gz) = 72772
+MD5 (Maypole-2.06.tar.gz) = 7f663cbef745c5655d31fea3120ee455
+SIZE (Maypole-2.06.tar.gz) = 83214
diff --git a/www/p5-Maypole/files/patch-Makefile.PL b/www/p5-Maypole/files/patch-Makefile.PL
index ba005208f639..be310c2ab9e5 100644
--- a/www/p5-Maypole/files/patch-Makefile.PL
+++ b/www/p5-Maypole/files/patch-Makefile.PL
@@ -1,14 +1,19 @@
---- Makefile.PL.orig Mon Nov 8 22:07:59 2004
-+++ Makefile.PL Mon Nov 8 22:08:46 2004
-@@ -38,7 +38,10 @@
- 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;
-+ }
+--- Makefile.PL.orig Fri Dec 24 04:50:50 2004
++++ Makefile.PL Sun Dec 26 12:50:10 2004
+@@ -24,7 +24,6 @@
+ HTTP::Headers => 1.59,
+ Template => 0,
+ Template::Plugin::Class => 0,
+- Test::MockModule => 0,
+ }, # e.g., Module::Name => 1.1
+ (
+ $] >= 5.005
+@@ -50,7 +49,7 @@
+ eval { require DBD::SQLite } or do {
+ print "Error loading DBD::SQLite, trying DBD::SQLite2\n";
+ eval {require DBD::SQLite2} ? $driver = 'SQLite2'
+- : die "DBD::SQLite2 is not installed";
++ : do { warn "DBD::SQLite2 is not installed"; exit ; }
+ };
require DBI;
- my $dbh = DBI->connect("dbi:SQLite:dbname=t/beerdb.db");
-
+ my $dbh = DBI->connect("dbi:$driver:dbname=t/beerdb.db");
diff --git a/www/p5-Maypole/pkg-plist b/www/p5-Maypole/pkg-plist
index 12e3c0cbe067..c6b8f59d8a13 100644
--- a/www/p5-Maypole/pkg-plist
+++ b/www/p5-Maypole/pkg-plist
@@ -5,6 +5,7 @@
%%SITE_PERL%%/Maypole/CLI.pm
%%SITE_PERL%%/Maypole/Config.pm
%%SITE_PERL%%/Maypole/Constants.pm
+%%SITE_PERL%%/Maypole/Headers.pm
%%SITE_PERL%%/Maypole/Manual.pod
%%SITE_PERL%%/Maypole/Manual/About.pod
%%SITE_PERL%%/Maypole/Manual/Beer.pod