aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Spiffy/Makefile14
-rw-r--r--devel/p5-Spiffy/distinfo4
2 files changed, 14 insertions, 4 deletions
diff --git a/devel/p5-Spiffy/Makefile b/devel/p5-Spiffy/Makefile
index 8c36e88b478e..745a41f1e00f 100644
--- a/devel/p5-Spiffy/Makefile
+++ b/devel/p5-Spiffy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Spiffy
-PORTVERSION= 0.21
+PORTVERSION= 0.22
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/I/IN/INGY/
@@ -19,10 +19,20 @@ PERL_CONFIGURE= yes
MAN3= Spiffy.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= Changes README
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter \
+ ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
.if ${PERL_LEVEL} < 500601
diff --git a/devel/p5-Spiffy/distinfo b/devel/p5-Spiffy/distinfo
index 78ce90d957f2..04ebcc324d2c 100644
--- a/devel/p5-Spiffy/distinfo
+++ b/devel/p5-Spiffy/distinfo
@@ -1,2 +1,2 @@
-MD5 (Spiffy-0.21.tar.gz) = 3279a0a0e5953dae2fd508c44d0f9737
-SIZE (Spiffy-0.21.tar.gz) = 24629
+MD5 (Spiffy-0.22.tar.gz) = 465f5bf50a903eb8605f4bd11b0c7f92
+SIZE (Spiffy-0.22.tar.gz) = 24965