Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 10:37:21 +0200
From:      bradh@uunet.co.za
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16978: New port: p5-Date-Calc
Message-ID:  <E12OGFV-000DCy-00@cage.noc.uunet.co.za>

next in thread | raw e-mail | index | archive | help

>Number:         16978
>Category:       ports
>Synopsis:       New port: p5-Date-Calc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 25 00:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Brad Hendrickse
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
UUNET SA (Pty) Ltd
>Environment:

FreeBSD cage.noc.uunet.co.za 3.4-STABLE FreeBSD 3.4-STABLE #25: Tue Feb 15 10:09:17 SAST 2000     bradh@cage.noc.uunet.co.za:/usr/src/sys/compile/kernel.CAGE  i386

>Description:

This package consists of a C library and a Perl module (which uses
the C library, internally) for all kinds of date calculations based
on the Gregorian calendar (the one used in all western countries today),
thereby complying with all relevant norms and standards: ISO/R 2015-1971,
DIN 1355 and, to some extent, ISO 8601 (where applicable).

WWW: http://www.engelschall.com/u/sb/download/

--
Brad Hendrickse
bradh@uunet.co.za

>How-To-Repeat:

	

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Date-Calc
#	p5-Date-Calc/Makefile
#	p5-Date-Calc/pkg
#	p5-Date-Calc/pkg/COMMENT
#	p5-Date-Calc/pkg/PLIST
#	p5-Date-Calc/pkg/DESCR
#	p5-Date-Calc/PLIST
#	p5-Date-Calc/DESCR
#	p5-Date-Calc/COMMENT
#	p5-Date-Calc/files
#	p5-Date-Calc/files/md5
#
echo c - p5-Date-Calc
mkdir -p p5-Date-Calc > /dev/null 2>&1
echo x - p5-Date-Calc/Makefile
sed 's/^X//' >p5-Date-Calc/Makefile << 'END-of-p5-Date-Calc/Makefile'
X# New ports collection makefile for:	p5-Date-Calc
X# Version required:                     4.3
X# Date created:				25 February 2000
X# Whom:	      				Brad Hendrickse <bradh@uunet.co.za>
X#
X# $FreeBSD$
X#
X
XDISTNAME=       Date-Calc-4.3
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Date
X
XMAINTAINER=	jfitz@FreeBSD.org
X
XUSE_PERL5=	YES
X
XMAN3=		Date::Calc.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xdo-configure:
X		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-Date-Calc/Makefile
echo c - p5-Date-Calc/pkg
mkdir -p p5-Date-Calc/pkg > /dev/null 2>&1
echo x - p5-Date-Calc/pkg/COMMENT
sed 's/^X//' >p5-Date-Calc/pkg/COMMENT << 'END-of-p5-Date-Calc/pkg/COMMENT'
XGregorian calendar date calculations
END-of-p5-Date-Calc/pkg/COMMENT
echo x - p5-Date-Calc/pkg/PLIST
sed 's/^X//' >p5-Date-Calc/pkg/PLIST << 'END-of-p5-Date-Calc/pkg/PLIST'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc/Calc.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc/Calc.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Date/Calc.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Calc
END-of-p5-Date-Calc/pkg/PLIST
echo x - p5-Date-Calc/pkg/DESCR
sed 's/^X//' >p5-Date-Calc/pkg/DESCR << 'END-of-p5-Date-Calc/pkg/DESCR'
XThis package consists of a C library and a Perl module (which uses
Xthe C library, internally) for all kinds of date calculations based
Xon the Gregorian calendar (the one used in all western countries today),
Xthereby complying with all relevant norms and standards: ISO/R 2015-1971,
XDIN 1355 and, to some extent, ISO 8601 (where applicable).
X
XWWW: http://www.engelschall.com/u/sb/download/
X
X--
XBrad Hendrickse
Xbradh@uunet.co.za
END-of-p5-Date-Calc/pkg/DESCR
echo x - p5-Date-Calc/PLIST
sed 's/^X//' >p5-Date-Calc/PLIST << 'END-of-p5-Date-Calc/PLIST'
Xlib/perl5/site_perl/%%PERL_VER%%/Date/Manip.pm
Xlib/perl5/site_perl/%%PERL_VER%%/Date/Manip.pod
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Manip/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Date/Manip
END-of-p5-Date-Calc/PLIST
echo x - p5-Date-Calc/DESCR
sed 's/^X//' >p5-Date-Calc/DESCR << 'END-of-p5-Date-Calc/DESCR'
X       This is a set of routines designed to make any common
X       date/time manipulation easy to do.  Operations such as
X       comparing two times, calculating a time a given amount of
X       time from another, or parsing international times are all
X       easily done.
X
X       Date::Manip deals only with the Gregorian calendar (the
X       one currently in use).  The Julian calendar defined leap
X       years as every 4th year.  The Gregorian calendar improved
X       this by making every 100th year NOT a leap year, unless it
X       was also the 400th year.  The Gregorian calendar has been
X       extrapolated back to the year 1000 AD and forward to the
X       year 9999 AD.  Note that in historical context, the Julian
X       calendar was in use until 1582 when the Gregorian calendar
X       was adopted by the Catholic church.  Protestant countries
X       did not accept it until later; Germany and Netherlands in
X       1698, British Empire in 1752, Russia in 1918.  Note that
X       the Gregorian calendar is itself imperfect.  Each year is
X       on average 26 seconds too long, which means that every
X       3,323 years, a day should be removed from the calendar.
X       No attempt is made to correct for that.
X
X       Date::Manip is therefore not equipped to truly deal with
X       historacle dates, but should be able to perform
X       (virtually) any operation dealing with a modern time and
X       date.
X
X       Among other things, Date::Manip allow you to:
X
X       1.  Enter a date and be able to choose any format
X           conveniant
X
X       2.  Compare two dates, entered in widely different formats
X           to determine which is earlier
X
X       3.  Extract any information you want from ANY date using a
X           format string similar to the Unix date command
X
X       4.  Determine the amount of time between two dates
X
X       5.  Add a time offset to a date to get a second date (i.e.
X           determine the date 132 days ago or 2 years and 3 months
X           after Jan 2, 1992)
X
X       6.  Work with dates with dates using international formats
X           (foreign month names, 12-10-95 referring to October rather than
X           December, etc.).
X
X       Each of these tasks is trivial (one or two lines at most)
X       with this package.
X
X       Although the word date is used extensively here, it is
X       actually somewhat misleading.  Date::Manip works with the
X       full date AND time (year, month, day, hour, minute,
X       second).
X
XWWW: http://www.cise.ufl.edu/~sbeck/
END-of-p5-Date-Calc/DESCR
echo x - p5-Date-Calc/COMMENT
sed 's/^X//' >p5-Date-Calc/COMMENT << 'END-of-p5-Date-Calc/COMMENT'
XPerl5 module containing date manipulation routines
END-of-p5-Date-Calc/COMMENT
echo c - p5-Date-Calc/files
mkdir -p p5-Date-Calc/files > /dev/null 2>&1
echo x - p5-Date-Calc/files/md5
sed 's/^X//' >p5-Date-Calc/files/md5 << 'END-of-p5-Date-Calc/files/md5'
XMD5 (Date-Calc-4.3.tar.gz) = da96f2286bb05b33b01801bc2a424e82
END-of-p5-Date-Calc/files/md5
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E12OGFV-000DCy-00>