From 7fea6e110f487d26ec69cdf1466eb29cea725d74 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 3 Jun 2003 03:45:35 +0000 Subject: Add p5-Date-Simple 2.04, a simple date object. PR: 52316 Submitted by: Alexey V. Antipovsky --- devel/p5-Date-Simple/Makefile | 24 ++++++++++++++++++++++++ devel/p5-Date-Simple/distinfo | 1 + devel/p5-Date-Simple/pkg-descr | 20 ++++++++++++++++++++ devel/p5-Date-Simple/pkg-plist | 10 ++++++++++ 4 files changed, 55 insertions(+) create mode 100644 devel/p5-Date-Simple/Makefile create mode 100644 devel/p5-Date-Simple/distinfo create mode 100644 devel/p5-Date-Simple/pkg-descr create mode 100644 devel/p5-Date-Simple/pkg-plist (limited to 'devel/p5-Date-Simple') diff --git a/devel/p5-Date-Simple/Makefile b/devel/p5-Date-Simple/Makefile new file mode 100644 index 000000000000..fb5ec337a94f --- /dev/null +++ b/devel/p5-Date-Simple/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Date-Simple +# Date created: 15 May 2003 +# Whom: Alexey V. Antipovsky +# +# $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 diff --git a/devel/p5-Date-Simple/distinfo b/devel/p5-Date-Simple/distinfo new file mode 100644 index 000000000000..ea1db648aeb8 --- /dev/null +++ b/devel/p5-Date-Simple/distinfo @@ -0,0 +1 @@ +MD5 (Date-Simple-2.04.tar.gz) = 38dfba341d083c5059953eed6225c7cd diff --git a/devel/p5-Date-Simple/pkg-descr b/devel/p5-Date-Simple/pkg-descr new file mode 100644 index 000000000000..51b0f240733e --- /dev/null +++ b/devel/p5-Date-Simple/pkg-descr @@ -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 diff --git a/devel/p5-Date-Simple/pkg-plist b/devel/p5-Date-Simple/pkg-plist new file mode 100644 index 000000000000..92b0533ff356 --- /dev/null +++ b/devel/p5-Date-Simple/pkg-plist @@ -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 -- cgit v1.2.3