diff options
author | tobez <tobez@FreeBSD.org> | 2007-04-04 11:23:52 +0000 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2007-04-04 11:23:52 +0000 |
commit | 9edbbcefe0008d71c3c3cf06c193a85c796ec9fb (patch) | |
tree | 7f0800ed3bd395fb79476f2637f3ea43c6fe1a1f /devel | |
parent | a5e7e3c17d104658c5469989b41b9bd260f2a356 (diff) | |
download | FreeBSD-ports-9edbbcefe0008d71c3c3cf06c193a85c796ec9fb.zip FreeBSD-ports-9edbbcefe0008d71c3c3cf06c193a85c796ec9fb.tar.gz |
Add devel/p5-File-CreationTime 2.03, a Perl module that keeps track of
creation times on filesystems that don't normally provide such
information.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-File-CreationTime/Makefile | 31 | ||||
-rw-r--r-- | devel/p5-File-CreationTime/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-File-CreationTime/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-File-CreationTime/pkg-plist | 5 |
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 418e556..8ce283e 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1128,6 +1128,7 @@ SUBDIR += p5-File-Cache SUBDIR += p5-File-Cat SUBDIR += p5-File-Copy-Recursive + SUBDIR += p5-File-CreationTime SUBDIR += p5-File-DesktopEntry SUBDIR += p5-File-DirSync SUBDIR += p5-File-FTS diff --git a/devel/p5-File-CreationTime/Makefile b/devel/p5-File-CreationTime/Makefile new file mode 100644 index 0000000..68a89be --- /dev/null +++ b/devel/p5-File-CreationTime/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: devel/p5-File-CreationTime +# Date created: 04 April 2007 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= File-CreationTime +PORTVERSION= 2.03 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= File +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Keeps track of file creation times + +BUILD_DEPENDS= ${SITE_PERL}/File/Attributes.pm:${PORTSDIR}/devel/p5-File-Attributes +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= File::CreationTime.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= has a dependency that wants perl5.8 +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-File-CreationTime/distinfo b/devel/p5-File-CreationTime/distinfo new file mode 100644 index 0000000..f2a9509 --- /dev/null +++ b/devel/p5-File-CreationTime/distinfo @@ -0,0 +1,3 @@ +MD5 (File-CreationTime-2.03.tar.gz) = 4dcc2417552ffb0cf5467eddbeee9989 +SHA256 (File-CreationTime-2.03.tar.gz) = fed5c5273202687c5ce3c0950e4b2b61ec6637c29db5278be9d20e6309a5b71b +SIZE (File-CreationTime-2.03.tar.gz) = 3571 diff --git a/devel/p5-File-CreationTime/pkg-descr b/devel/p5-File-CreationTime/pkg-descr new file mode 100644 index 0000000..719107e --- /dev/null +++ b/devel/p5-File-CreationTime/pkg-descr @@ -0,0 +1,9 @@ +Keeps track of creation times on filesystems that don't normally provide +such information. + + use File::CreationTime; + + my $file = '/path/to/file'; + print "$file was created: ". creation_time($file). "\n"; + +WWW: http://search.cpan.org/dist/File-CreationTime/ diff --git a/devel/p5-File-CreationTime/pkg-plist b/devel/p5-File-CreationTime/pkg-plist new file mode 100644 index 0000000..8b5e93e --- /dev/null +++ b/devel/p5-File-CreationTime/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/File/CreationTime.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/File/CreationTime/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/CreationTime +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File +@dirrmtry %%SITE_PERL%%/File |