diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Time-Piece/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Time-Piece/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Time-Piece/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Time-Piece/pkg-descr | 13 | ||||
-rw-r--r-- | devel/p5-Time-Piece/pkg-plist | 8 |
6 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ba40cd922ccf..15ad8ea7df93 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -532,6 +532,7 @@ SUBDIR += p5-Time-HiRes SUBDIR += p5-Time-Object SUBDIR += p5-Time-Period + SUBDIR += p5-Time-Piece SUBDIR += p5-TimeDate SUBDIR += p5-TraceFuncs SUBDIR += p5-Tree-DAG_Node diff --git a/devel/p5-Time-Piece/Makefile b/devel/p5-Time-Piece/Makefile new file mode 100644 index 000000000000..bca3baede263 --- /dev/null +++ b/devel/p5-Time-Piece/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Time-Piece +# Date created: 14 June 2002 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Time-Piece +PORTVERSION= 1.05 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Time +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org + +PERL_CONFIGURE= yes + +MAN3= Time::Piece.3 Time::Seconds.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include <bsd.port.mk> diff --git a/devel/p5-Time-Piece/distinfo b/devel/p5-Time-Piece/distinfo new file mode 100644 index 000000000000..bad1e15bdcaf --- /dev/null +++ b/devel/p5-Time-Piece/distinfo @@ -0,0 +1 @@ +MD5 (Time-Piece-1.05.tar.gz) = 59b44068bdc306c62c4ae73df7985f9d diff --git a/devel/p5-Time-Piece/pkg-comment b/devel/p5-Time-Piece/pkg-comment new file mode 100644 index 000000000000..a5a32318d463 --- /dev/null +++ b/devel/p5-Time-Piece/pkg-comment @@ -0,0 +1 @@ +Time::Piece - Object Oriented time objects diff --git a/devel/p5-Time-Piece/pkg-descr b/devel/p5-Time-Piece/pkg-descr new file mode 100644 index 000000000000..81f1155a5bc9 --- /dev/null +++ b/devel/p5-Time-Piece/pkg-descr @@ -0,0 +1,13 @@ +This module replaces the standard localtime and gmtime functions with +implementations that return objects. It does so in a backwards +compatible manner, so that using localtime/gmtime in the way documented +in perlfunc will still return what you expect. + +The module actually implements most of an interface described by Larry +Wall on the perl5-porters mailing list here: +http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-01/msg00241.html + +Authors: Matt Sergeant <matt@sergeant.org>, Jarkko Hietaniemi <jhi@iki.fi> +WWW: http://search.cpan.org/search?dist=Time-Piece + +-- Anton diff --git a/devel/p5-Time-Piece/pkg-plist b/devel/p5-Time-Piece/pkg-plist new file mode 100644 index 000000000000..859f7a3f49e1 --- /dev/null +++ b/devel/p5-Time-Piece/pkg-plist @@ -0,0 +1,8 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece/Piece.so +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece/Piece.bs +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece/.packlist +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Time/Piece.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Time/Seconds.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time/Piece +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Time 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Time 2>/dev/null || true |