aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-Duration
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2007-07-02 09:56:31 +0000
committerMathieu Arnold <mat@FreeBSD.org>2007-07-02 09:56:31 +0000
commitadc3248c47da0894d73d5550f9cf072af8217868 (patch)
tree1b004a1e6ede2ed969632bfddf9c5a676f2d5fbd /devel/p5-DateTime-Format-Duration
parent6a41ab1d8cbb81fda987461d6b44bc9c9df887d7 (diff)
downloadports-adc3248c47da0894d73d5550f9cf072af8217868.tar.gz
ports-adc3248c47da0894d73d5550f9cf072af8217868.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Format-Duration')
-rw-r--r--devel/p5-DateTime-Format-Duration/Makefile15
-rw-r--r--devel/p5-DateTime-Format-Duration/distinfo6
2 files changed, 8 insertions, 13 deletions
diff --git a/devel/p5-DateTime-Format-Duration/Makefile b/devel/p5-DateTime-Format-Duration/Makefile
index 2b6bf0740d32..282846ad49fa 100644
--- a/devel/p5-DateTime-Format-Duration/Makefile
+++ b/devel/p5-DateTime-Format-Duration/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= DateTime-Format-Duration
-PORTVERSION= 1.02
+PORTVERSION= 1.03a
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
-#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
+EXTRACT_SUFX= .tgz
MAINTAINER= mat@FreeBSD.org
COMMENT= Format and parse DateTime::Durations
@@ -19,15 +19,10 @@ COMMENT= Format and parse DateTime::Durations
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
RUN_DEPENDS= ${BUILD_DEPENDS}
+WRKSRC= ${WRKDIR}/${DISTNAME:C/a$//}
+
PERL_CONFIGURE= yes
MAN3= DateTime::Format::Duration.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-post-patch:
- @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/lib/DateTime/Format/Duration.pm
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/p5-DateTime-Format-Duration/distinfo b/devel/p5-DateTime-Format-Duration/distinfo
index 1dbf09f9b8a0..5c018e833c63 100644
--- a/devel/p5-DateTime-Format-Duration/distinfo
+++ b/devel/p5-DateTime-Format-Duration/distinfo
@@ -1,3 +1,3 @@
-MD5 (DateTime-Format-Duration-1.02.tar.gz) = d8438540fa90f1efc5a0a12b63485b2e
-SHA256 (DateTime-Format-Duration-1.02.tar.gz) = 9bb938f23052ef8e8a69ec94b3ff831efac02e904e1973cbb7b5407fe5b19a3b
-SIZE (DateTime-Format-Duration-1.02.tar.gz) = 85610
+MD5 (DateTime-Format-Duration-1.03a.tgz) = f395c9f17d8fe65aa3b3cca6c8fecf17
+SHA256 (DateTime-Format-Duration-1.03a.tgz) = b3e04c18bd1ba4da4332c14d9010a79101b4419ca8a46a5354e837282280e359
+SIZE (DateTime-Format-Duration-1.03a.tgz) = 86358