aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Spoon
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-12-20 14:38:24 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-12-20 14:38:24 +0000
commitbf7d5d02220655a0752597260348627df89a8259 (patch)
treed904cfe5e0345335ccfb027c2b0aef4f46f6c351 /devel/p5-Spoon
parent958b51028ae38e3b73ddc77ae30bd2c3bdfff178 (diff)
downloadports-bf7d5d02220655a0752597260348627df89a8259.tar.gz
ports-bf7d5d02220655a0752597260348627df89a8259.zip
Notes
Diffstat (limited to 'devel/p5-Spoon')
-rw-r--r--devel/p5-Spoon/Makefile13
-rw-r--r--devel/p5-Spoon/distinfo4
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/p5-Spoon/Makefile b/devel/p5-Spoon/Makefile
index 00f72a18d1d6..e824a75601c3 100644
--- a/devel/p5-Spoon/Makefile
+++ b/devel/p5-Spoon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Spoon
-PORTVERSION= 0.19
+PORTVERSION= 0.20
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/I/IN/INGY/
@@ -25,7 +25,6 @@ PERL_CONFIGURE= yes
MAN3= Spoon.3 \
Spoon::Base.3 \
Spoon::CGI.3 \
- Spoon::Config.3 \
Spoon::ContentObject.3 \
Spoon::Cookie.3 \
Spoon::DataObject.3 \
@@ -42,8 +41,18 @@ MAN3= Spoon.3 \
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+post-patch:
+ @${PERL} -i -pe '$$_ = "" if $$. == 3' \
+ ${WRKSRC}/lib/Spoon/Base.pm
+
+MAN3+= Spoon::Config.3
+
.if ${PERL_LEVEL} < 500601
IGNORE= This port requires perl 5.6.1 or later. Install lang/perl5 then try again
.endif
+.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-Spoon/distinfo b/devel/p5-Spoon/distinfo
index a571b17439cc..9d66b1863b82 100644
--- a/devel/p5-Spoon/distinfo
+++ b/devel/p5-Spoon/distinfo
@@ -1,2 +1,2 @@
-MD5 (Spoon-0.19.tar.gz) = 2cd2d346eb36a1006b792a3ab76a40c4
-SIZE (Spoon-0.19.tar.gz) = 21699
+MD5 (Spoon-0.20.tar.gz) = 362f9dfee3dfea8af2912d676a42b227
+SIZE (Spoon-0.20.tar.gz) = 21739