diff options
author | tobez <tobez@FreeBSD.org> | 2002-06-14 22:35:36 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2002-06-14 22:35:36 +0800 |
commit | 8443fbd17de42f5b2b52be94511338a01f014b65 (patch) | |
tree | f717767c3fc9bdd4d076838d2afa2af898807074 /devel/p5-Time-Piece | |
parent | 64d46f66a1d305741495f52ab32e8b587d0070cb (diff) | |
download | freebsd-ports-gnome-8443fbd17de42f5b2b52be94511338a01f014b65.tar.gz freebsd-ports-gnome-8443fbd17de42f5b2b52be94511338a01f014b65.tar.zst freebsd-ports-gnome-8443fbd17de42f5b2b52be94511338a01f014b65.zip |
Add p5-Time-Piece, a perl module implementing time objects.
Diffstat (limited to 'devel/p5-Time-Piece')
-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 |
5 files changed, 45 insertions, 0 deletions
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 |