From b3ba64a16216cf84de59d01e5b05ffde7eda3607 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Tue, 4 Jul 2006 01:23:50 +0000 Subject: Add p5-Dir-Purge, purge directories to a given number of files. --- sysutils/Makefile | 1 + sysutils/p5-Dir-Purge/Makefile | 22 ++++++++++++++++++++++ sysutils/p5-Dir-Purge/distinfo | 3 +++ sysutils/p5-Dir-Purge/pkg-descr | 5 +++++ sysutils/p5-Dir-Purge/pkg-plist | 5 +++++ 5 files changed, 36 insertions(+) create mode 100644 sysutils/p5-Dir-Purge/Makefile create mode 100644 sysutils/p5-Dir-Purge/distinfo create mode 100644 sysutils/p5-Dir-Purge/pkg-descr create mode 100644 sysutils/p5-Dir-Purge/pkg-plist (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index 5ab4793d7a06..a08802ae576c 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -375,6 +375,7 @@ SUBDIR += ods2 SUBDIR += open SUBDIR += openupsd + SUBDIR += p5-Dir-Purge SUBDIR += p5-File-Stat-Bits SUBDIR += p5-File-Which SUBDIR += p5-Filesys-Df diff --git a/sysutils/p5-Dir-Purge/Makefile b/sysutils/p5-Dir-Purge/Makefile new file mode 100644 index 000000000000..bb39781488b4 --- /dev/null +++ b/sysutils/p5-Dir-Purge/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: sysutils/p5-Dir-Purge +# Date created: 4 July 2006 +# Whom: Emanuel Haupt +# +# $FreeBSD$ +# + +PORTNAME= Dir-Purge +PORTVERSION= 1.01 +CATEGORIES= sysutils perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Dir +PKGNAMEPREFIX= p5- + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Purge directories to a given number of files + +PERL_CONFIGURE= yes + +MAN3= Dir::Purge.3 + +.include diff --git a/sysutils/p5-Dir-Purge/distinfo b/sysutils/p5-Dir-Purge/distinfo new file mode 100644 index 000000000000..b069bed53ff7 --- /dev/null +++ b/sysutils/p5-Dir-Purge/distinfo @@ -0,0 +1,3 @@ +MD5 (Dir-Purge-1.01.tar.gz) = afa71798a94c45702bebf16e18182c46 +SHA256 (Dir-Purge-1.01.tar.gz) = 6841f05f1cc44d6f21ad5717778e7a2680ac21d6855762e5440aeda44411e702 +SIZE (Dir-Purge-1.01.tar.gz) = 5958 diff --git a/sysutils/p5-Dir-Purge/pkg-descr b/sysutils/p5-Dir-Purge/pkg-descr new file mode 100644 index 000000000000..75503af37384 --- /dev/null +++ b/sysutils/p5-Dir-Purge/pkg-descr @@ -0,0 +1,5 @@ +Dir::Purge implements functions to reduce the number of files in a directory +according to a strategy. It currently provides one strategy: removal of files by +age. + +WWW: http://search.cpan.org/dist/Dir-Purge/ diff --git a/sysutils/p5-Dir-Purge/pkg-plist b/sysutils/p5-Dir-Purge/pkg-plist new file mode 100644 index 000000000000..28c872be84c0 --- /dev/null +++ b/sysutils/p5-Dir-Purge/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir/Purge/.packlist +%%SITE_PERL%%/Dir/Purge.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir/Purge +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Dir +@dirrmtry %%SITE_PERL%%/Dir -- cgit