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:
parent
8e53feeba6
commit
7fea6e110f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82135
@ -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
|
||||
|
24
devel/p5-Date-Simple/Makefile
Normal file
24
devel/p5-Date-Simple/Makefile
Normal 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>
|
1
devel/p5-Date-Simple/distinfo
Normal file
1
devel/p5-Date-Simple/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Date-Simple-2.04.tar.gz) = 38dfba341d083c5059953eed6225c7cd
|
20
devel/p5-Date-Simple/pkg-descr
Normal file
20
devel/p5-Date-Simple/pkg-descr
Normal 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
|
10
devel/p5-Date-Simple/pkg-plist
Normal file
10
devel/p5-Date-Simple/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user