svn commit: r317018 - in head/devel: . p5-Date-Piece
Erwin Lansing
erwin at FreeBSD.org
Wed May 1 12:53:27 UTC 2013
Author: erwin
Date: Wed May 1 12:53:25 2013
New Revision: 317018
URL: http://svnweb.freebsd.org/changeset/ports/317018
Log:
Add Date::Piece
This module allows you to do nominal math on dates. That is, rather
than worrying about time zones and DST while adding increments of
24*60**2 seconds to a date&time object, you simply discard the time
component and do math directly on the date. If you need a time-of-day
on the calculated date, the at() method returns a Time::Piece object,
thus allowing you to be specific about the endpoints of a nominal interval.
Added:
head/devel/p5-Date-Piece/
head/devel/p5-Date-Piece/Makefile (contents, props changed)
head/devel/p5-Date-Piece/distinfo (contents, props changed)
head/devel/p5-Date-Piece/pkg-descr (contents, props changed)
head/devel/p5-Date-Piece/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed May 1 12:49:16 2013 (r317017)
+++ head/devel/Makefile Wed May 1 12:53:25 2013 (r317018)
@@ -1748,6 +1748,7 @@
SUBDIR += p5-Date-Leapyear
SUBDIR += p5-Date-Manip
SUBDIR += p5-Date-Pcalc
+ SUBDIR += p5-Date-Piece
SUBDIR += p5-Date-Range
SUBDIR += p5-Date-Roman
SUBDIR += p5-Date-Simple
Added: head/devel/p5-Date-Piece/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Date-Piece/Makefile Wed May 1 12:53:25 2013 (r317018)
@@ -0,0 +1,24 @@
+# Created by: Erwin Lansing <erwin at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Date-Piece
+PORTVERSION= 0.0.3
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:EWILHELM
+PKGNAMEPREFIX= p5-
+DISTNAME= Date-Piece-v0.0.3
+
+MAINTAINER= erwin at FreeBSD.org
+COMMENT= Perl5 module containing date manipulation routines
+
+BUILD_DEPENDS= p5-Date-Simple>=3.03:${PORTSDIR}/devel/p5-Date-Simple
+RUN_DEPENDS= p5-Date-Simple>=3.03:${PORTSDIR}/devel/p5-Date-Simple
+#TEST_DEPENDS= p5-Test-Inter>=0:${PORTSDIR}/devel/p5-Test-Inter
+
+PERL_MODBUILD= YES
+
+MAN1= day.1
+MAN3= Date::Piece.3
+
+.include <bsd.port.mk>
Added: head/devel/p5-Date-Piece/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Date-Piece/distinfo Wed May 1 12:53:25 2013 (r317018)
@@ -0,0 +1,2 @@
+SHA256 (Date-Piece-v0.0.3.tar.gz) = f6ac3a08d6c3b3a9271e64ba3d99a4f8f531b8508066761d91fd1703edd4f39b
+SIZE (Date-Piece-v0.0.3.tar.gz) = 13539
Added: head/devel/p5-Date-Piece/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Date-Piece/pkg-descr Wed May 1 12:53:25 2013 (r317018)
@@ -0,0 +1,8 @@
+This module allows you to do nominal math on dates. That is, rather
+than worrying about time zones and DST while adding increments of
+24*60**2 seconds to a date&time object, you simply discard the time
+component and do math directly on the date. If you need a time-of-day
+on the calculated date, the at() method returns a Time::Piece object,
+thus allowing you to be specific about the endpoints of a nominal interval.
+
+WWW: http://search.cpan.org/dist/Date-Piece/
Added: head/devel/p5-Date-Piece/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Date-Piece/pkg-plist Wed May 1 12:53:25 2013 (r317018)
@@ -0,0 +1,3 @@
+bin/day
+%%SITE_PERL%%/Date/Piece.pm
+ at dirrmtry %%SITE_PERL%%/Date
More information about the svn-ports-all
mailing list