Date: Wed, 18 Nov 2009 07:22:57 GMT From: "Sergey V. Dyatko" <sergey.dyatko@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140659: [NEW PORT] devel/p5-Time-Format Message-ID: <200911180722.nAI7MvfM090499@www.freebsd.org> Resent-Message-ID: <200911180730.nAI7U1BU071458@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140659 >Category: ports >Synopsis: [NEW PORT] devel/p5-Time-Format >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 Nov 18 07:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sergey V. Dyatko >Release: HEAD >Organization: >Environment: FreeBSD notebook.minsk.domain 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r198704M: Sat Oct 31 20:57:07 EET 2009 root@notebook.minsk.domain:/usr/obj/usr/src/sys/tiger-asus-a6m i386 >Description: Time::Format provides a very easy way to format dates and times. The formatting functions are tied to hash variables, so they can be used inside strings as well as in ordinary expressions. The formatting codes used are meant to be easy to remember, use, and read. They follow a simple, consistent pattern. If I've done my job right, once you learn the codes, you should never have to refer to the documentation again. A quick-reference page is included, just in case. ;-) Time::Format can also format DateTime objects, and strings created with Date::Manip. Also provided is a tied-hash interface to POSIX::strftime and Date::Manip::UnixDate. If the I18N::Langinfo module is available, Time::Format provides weekday and month names in a language appropriate for your locale. A companion module, Time::Format_XS, is also available; if it is installed, Time::Format will detect and use it, which will result in a significant speed improvement. >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # . # ./Makefile # ./distinfo # ./pkg-descr # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# New ports collection makefile for: devel/p5-Time-Format X# Date created: 18 November 2009 X# Whom: Sergey V. Dyatko <Sergey.Dyatko@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= Time-Format XPORTVERSION= 1.11 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XPKGNAMEPREFIX= p5- X XMAINTAINER= Sergey.Dyatko@gmail.com XCOMMENT= Easy-to-use date/time formatting. X XPERL_CONFIGURE= yes X XMAN3= Time::Format.3 X X.include <bsd.port.mk> 464ef7c6571951809b23e262cbe26e19 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (Time-Format-1.11.tar.gz) = 20b6f13b67c6840a0527a6597c9861b2 XSHA256 (Time-Format-1.11.tar.gz) = fb3a39e8cf8fd8f47462b4fc2f99dbacc51896bc4b7c46fcb80f71b780e9bd09 XSIZE (Time-Format-1.11.tar.gz) = 30330 aec8793adfd5b7c3f00e62ae41a09ac2 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XTime::Format provides a very easy way to format dates and times. The Xformatting functions are tied to hash variables, so they can be used Xinside strings as well as in ordinary expressions. The formatting Xcodes used are meant to be easy to remember, use, and read. They Xfollow a simple, consistent pattern. If I've done my job right, once Xyou learn the codes, you should never have to refer to the Xdocumentation again. XA quick-reference page is included, just in case. ;-) X XTime::Format can also format DateTime objects, and strings created Xwith Date::Manip. X XAlso provided is a tied-hash interface to POSIX::strftime and XDate::Manip::UnixDate. X XIf the I18N::Langinfo module is available, Time::Format provides Xweekday and month names in a language appropriate for your locale. X XA companion module, Time::Format_XS, is also available; if it is Xinstalled, Time::Format will detect and use it, which will result in a Xsignificant speed improvement. X XWWW: http://search.cpan.org/~roode/Time-Format-1.11/ X 0e313719ff012ceaf97a028d51caa8f5 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' X%%SITE_PERL%%/Time/Format.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Time/Format/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Time/Format X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Time X@dirrmtry %%SITE_PERL%%/Time ef3e7f63841ae908ba397c2bef1fbad6 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911180722.nAI7MvfM090499>