Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Jul 2003 18:33:29 +0200 (CEST)
From:      Mathieu Arnold <m@absolight.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        m@absolight.net
Subject:   ports/54030: new port devel/p5-DateTime-Format-Epoch
Message-ID:  <20030702163329.389E47DD9@aragorn.reaumur.absolight.net>
Resent-Message-ID: <200307021640.h62GeGXN063567@freefall.freebsd.org>

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

>Number:         54030
>Category:       ports
>Synopsis:       new port devel/p5-DateTime-Format-Epoch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 02 09:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386


	
>Description:
New port devel/p5-DateTime-Format-Epoch

This module can convert a DateTime object (or any object that can be converted
to a DateTime object) to the number of seconds since a given epoch. It can also
do the reverse.

	
>How-To-Repeat:
	
>Fix:

	

--- p5-DateTime-Format-Epoch.shar begins here ---
# 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-DateTime-Format-Epoch
#	p5-DateTime-Format-Epoch/Makefile
#	p5-DateTime-Format-Epoch/distinfo
#	p5-DateTime-Format-Epoch/pkg-descr
#	p5-DateTime-Format-Epoch/pkg-plist
#
echo c - p5-DateTime-Format-Epoch
mkdir -p p5-DateTime-Format-Epoch > /dev/null 2>&1
echo x - p5-DateTime-Format-Epoch/Makefile
sed 's/^X//' >p5-DateTime-Format-Epoch/Makefile << 'END-of-p5-DateTime-Format-Epoch/Makefile'
X# New ports collection makefile for:	p5-DateTime-Format-Epoch
X# Date created:	   2 july 2003
X# Whom:		   Mathieu Arnold <m@absolight.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	DateTime-Format-Epoch
XPORTVERSION=	0.04
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	DateTime
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	m@absolight.net
XCOMMENT=	Convert DateTimes to/from epoch seconds
X
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		DateTime::Format::Epoch.3 DateTime::Format::Epoch::MacOS.3 \
X		DateTime::Format::Epoch::TAI64.3 DateTime::Format::Epoch::Unix.3
X
X.include <bsd.port.mk>
END-of-p5-DateTime-Format-Epoch/Makefile
echo x - p5-DateTime-Format-Epoch/distinfo
sed 's/^X//' >p5-DateTime-Format-Epoch/distinfo << 'END-of-p5-DateTime-Format-Epoch/distinfo'
XMD5 (DateTime-Format-Epoch-0.04.tar.gz) = ead98127a9e3478049f1e8fdcb8a6037
END-of-p5-DateTime-Format-Epoch/distinfo
echo x - p5-DateTime-Format-Epoch/pkg-descr
sed 's/^X//' >p5-DateTime-Format-Epoch/pkg-descr << 'END-of-p5-DateTime-Format-Epoch/pkg-descr'
XThis module can convert a DateTime object (or any object that can be converted
Xto a DateTime object) to the number of seconds since a given epoch. It can also
Xdo the reverse.
X
XWWW: http://datetime.perl.org/
END-of-p5-DateTime-Format-Epoch/pkg-descr
echo x - p5-DateTime-Format-Epoch/pkg-plist
sed 's/^X//' >p5-DateTime-Format-Epoch/pkg-plist << 'END-of-p5-DateTime-Format-Epoch/pkg-plist'
X%%SITE_PERL%%/DateTime/Format/Epoch.pm
X%%SITE_PERL%%/DateTime/Format/Epoch/MacOS.pm
X%%SITE_PERL%%/DateTime/Format/Epoch/TAI64.pm
X%%SITE_PERL%%/DateTime/Format/Epoch/Unix.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Epoch/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Epoch
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime 2>/dev/null || true
X@dirrm %%SITE_PERL%%/DateTime/Format/Epoch
X@unexec rmdir %D/%%SITE_PERL%%/DateTime/Format 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/DateTime 2>/dev/null || true
END-of-p5-DateTime-Format-Epoch/pkg-plist
exit
--- p5-DateTime-Format-Epoch.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702163329.389E47DD9>