summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-01-08 14:21:02 +0000
committermat <mat@FreeBSD.org>2004-01-08 14:21:02 +0000
commitcab9e620a00d4039bd1fc0a0a55e37462899e5a3 (patch)
treef3eee64f8cf2167ea284fb45d1af2d6457aa580e /devel
parente5031398c334fd8db500fd255b505406a7cda11e (diff)
downloadFreeBSD-ports-cab9e620a00d4039bd1fc0a0a55e37462899e5a3.zip
FreeBSD-ports-cab9e620a00d4039bd1fc0a0a55e37462899e5a3.tar.gz
Add p5-DateTime-Format-Duration 1.01
Format and parse DateTime::Durations.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-DateTime-Format-Duration/Makefile32
-rw-r--r--devel/p5-DateTime-Format-Duration/distinfo1
-rw-r--r--devel/p5-DateTime-Format-Duration/pkg-descr4
-rw-r--r--devel/p5-DateTime-Format-Duration/pkg-plist7
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 93a4e5f..8e9f2b2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -628,6 +628,7 @@
SUBDIR += p5-DateTime-Format-Builder
SUBDIR += p5-DateTime-Format-DBI
SUBDIR += p5-DateTime-Format-DateManip
+ SUBDIR += p5-DateTime-Format-Duration
SUBDIR += p5-DateTime-Format-Epoch
SUBDIR += p5-DateTime-Format-Excel
SUBDIR += p5-DateTime-Format-HTTP
diff --git a/devel/p5-DateTime-Format-Duration/Makefile b/devel/p5-DateTime-Format-Duration/Makefile
new file mode 100644
index 0000000..9e3431a
--- /dev/null
+++ b/devel/p5-DateTime-Format-Duration/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-DateTime-Format-Duration
+# Date created: 8 Jan 2004
+# Whom: Mathieu Arnold <mat@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= DateTime-Format-Duration
+PORTVERSION= 1.01
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= DateTime
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Format and parse DateTime::Durations
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+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>
diff --git a/devel/p5-DateTime-Format-Duration/distinfo b/devel/p5-DateTime-Format-Duration/distinfo
new file mode 100644
index 0000000..36364cb
--- /dev/null
+++ b/devel/p5-DateTime-Format-Duration/distinfo
@@ -0,0 +1 @@
+MD5 (DateTime-Format-Duration-1.01.tar.gz) = c4216a988ead7381b5fd6ac3b00683d8
diff --git a/devel/p5-DateTime-Format-Duration/pkg-descr b/devel/p5-DateTime-Format-Duration/pkg-descr
new file mode 100644
index 0000000..c4d274c
--- /dev/null
+++ b/devel/p5-DateTime-Format-Duration/pkg-descr
@@ -0,0 +1,4 @@
+This module formats and parses DateTime::Duration objects as well as other
+durations representations.
+
+WWW: http://datetime.perl.org/
diff --git a/devel/p5-DateTime-Format-Duration/pkg-plist b/devel/p5-DateTime-Format-Duration/pkg-plist
new file mode 100644
index 0000000..2ea6f3a
--- /dev/null
+++ b/devel/p5-DateTime-Format-Duration/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/DateTime/Format/Duration.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Duration/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Duration
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true
OpenPOWER on IntegriCloud