aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-Format-Pg
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-07-13 23:43:51 +0800
committermat <mat@FreeBSD.org>2004-07-13 23:43:51 +0800
commitc555745cfc4495688bcfd21e5acd32a938231cc6 (patch)
treec55b8c6c1bf4f56c07468355977b1fbb6f562918 /devel/p5-DateTime-Format-Pg
parent61ccb0be88f6dd9f0c695ecbb7d209293483302e (diff)
downloadfreebsd-ports-gnome-c555745cfc4495688bcfd21e5acd32a938231cc6.tar.gz
freebsd-ports-gnome-c555745cfc4495688bcfd21e5acd32a938231cc6.tar.zst
freebsd-ports-gnome-c555745cfc4495688bcfd21e5acd32a938231cc6.zip
Update to 0.06
Diffstat (limited to 'devel/p5-DateTime-Format-Pg')
-rw-r--r--devel/p5-DateTime-Format-Pg/Makefile15
-rw-r--r--devel/p5-DateTime-Format-Pg/distinfo4
2 files changed, 15 insertions, 4 deletions
diff --git a/devel/p5-DateTime-Format-Pg/Makefile b/devel/p5-DateTime-Format-Pg/Makefile
index 9d4d40f1e16a..a11091ccd9b9 100644
--- a/devel/p5-DateTime-Format-Pg/Makefile
+++ b/devel/p5-DateTime-Format-Pg/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= DateTime-Format-Pg
-PORTVERSION= 0.05
+PORTVERSION= 0.06
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION}0
MAINTAINER= mat@FreeBSD.org
COMMENT= Parse and format PostgreSQL dates and times
@@ -20,8 +21,18 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
${SITE_PERL}/DateTime/Format/Builder.pm:${PORTSDIR}/devel/p5-DateTime-Format-Builder
BUILD_DEPENDS= ${RUN_DEPENDS}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
PERL_CONFIGURE= yes
MAN3= DateTime::Format::Pg.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ @${PERL} -pi -e 's/^our (\@ISA)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/lib/DateTime/Format/Pg.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-DateTime-Format-Pg/distinfo b/devel/p5-DateTime-Format-Pg/distinfo
index a03e4ccccb8a..ddcb81858f92 100644
--- a/devel/p5-DateTime-Format-Pg/distinfo
+++ b/devel/p5-DateTime-Format-Pg/distinfo
@@ -1,2 +1,2 @@
-MD5 (DateTime-Format-Pg-0.05.tar.gz) = d4dc68b40097d77b9e7bb9ec769d5fc9
-SIZE (DateTime-Format-Pg-0.05.tar.gz) = 17204
+MD5 (DateTime-Format-Pg-0.060.tar.gz) = b2f8f4a5eda4abfbc1e0574ca239c28e
+SIZE (DateTime-Format-Pg-0.060.tar.gz) = 17524