aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-DateTime')
-rw-r--r--devel/p5-DateTime/Makefile13
-rw-r--r--devel/p5-DateTime/distinfo4
2 files changed, 13 insertions, 4 deletions
diff --git a/devel/p5-DateTime/Makefile b/devel/p5-DateTime/Makefile
index 49cb33302f53..0f358cac2dae 100644
--- a/devel/p5-DateTime/Makefile
+++ b/devel/p5-DateTime/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= DateTime
-PORTVERSION= 0.21.01
+PORTVERSION= 0.22
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
+#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
MAINTAINER= mat@FreeBSD.org
COMMENT= A date and time object
@@ -28,4 +28,13 @@ PERL_CONFIGURE= yes
MAN3= DateTime.3 DateTime::Duration.3 \
DateTime::Infinite.3 DateTime::LeapSecond.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= CREDITS Changes README TODO
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/p5-DateTime/distinfo b/devel/p5-DateTime/distinfo
index 58aab5ffee76..21391fb92ad1 100644
--- a/devel/p5-DateTime/distinfo
+++ b/devel/p5-DateTime/distinfo
@@ -1,2 +1,2 @@
-MD5 (DateTime-0.2101.tar.gz) = cb3dde6240a574c87e111fb76b036be4
-SIZE (DateTime-0.2101.tar.gz) = 76154
+MD5 (DateTime-0.22.tar.gz) = b0655fce30830bc413791d260f5185c4
+SIZE (DateTime-0.22.tar.gz) = 76270