1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add p5-Date-Simple 2.04, a simple date object.

PR:		52316
Submitted by:	Alexey V. Antipovsky <kemm@in-line.ru>
This commit is contained in:
Will Andrews 2003-06-03 03:45:35 +00:00
parent 8e53feeba6
commit 7fea6e110f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82135
5 changed files with 56 additions and 0 deletions

View File

@ -522,6 +522,7 @@
SUBDIR += p5-Date-Manip
SUBDIR += p5-Date-Pcalc
SUBDIR += p5-Date-Roman
SUBDIR += p5-Date-Simple
SUBDIR += p5-DateConvert
SUBDIR += p5-Devel-Constants
SUBDIR += p5-Devel-DProf

View File

@ -0,0 +1,24 @@
# New ports collection makefile for: p5-Date-Simple
# Date created: 15 May 2003
# Whom: Alexey V. Antipovsky <kemm@in-line.ru>
#
# $FreeBSD$
#
PORTNAME= Date-Simple
PORTVERSION= 2.04
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/J/JT/JTOBEY
PKGNAMEPREFIX= p5-
MAINTAINER= kemm@in-line.ru
COMMENT= A simple date object
PERL_CONFIGURE= yes
MAN3= Date::Simple.3 Date::Simple::NoXS.3
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Date-Simple-2.04.tar.gz) = 38dfba341d083c5059953eed6225c7cd

View File

@ -0,0 +1,20 @@
From Date::Simple(3) man page:
Dates are complex enough without times and timezones. This module may
be used to create simple date objects. It handles:
Validation:
Reject 1999-02-29 but accept 2000-02-29.
Interval arithmetic:
How many days were between two given dates? What date comes N days
after today?
Day-of-week calculation:
What day of the week is a given date?
It does NOT deal with hours, minutes, seconds, and time zones.
WWW: http://search.cpan.org/search?dist=Date-Simple
--
Alexey V. Antipovsky
kemm@in-line.ru

View File

@ -0,0 +1,10 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Date/Simple.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Date/Simple/NoXS.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Simple/.packlist
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Simple/Simple.bs
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Simple/Simple.so
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Simple
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Date/Simple 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Date 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Date 2>/dev/null || true