aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-Pg
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-07-13 15:43:51 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-07-13 15:43:51 +0000
commit283f7e5c0c76d50a08b774a2fecfcfbd7dbf0243 (patch)
tree0a0ae1211b6e4aa81d23f2e0de5dfa7b882beab0 /devel/p5-DateTime-Format-Pg
parent367013fd0495c68450dc08c0874a142823199256 (diff)
downloadports-283f7e5c0c76d50a08b774a2fecfcfbd7dbf0243.tar.gz
ports-283f7e5c0c76d50a08b774a2fecfcfbd7dbf0243.zip
Notes
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