aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-07-04 09:23:50 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-07-04 09:23:50 +0800
commitb3ba64a16216cf84de59d01e5b05ffde7eda3607 (patch)
tree0f5d1668faf3fbc2450165d385480eb00f6fdcea /sysutils
parent5acb2ad5517d017b271d331dc082c0d8a83eeb96 (diff)
downloadfreebsd-ports-gnome-b3ba64a16216cf84de59d01e5b05ffde7eda3607.tar.gz
freebsd-ports-gnome-b3ba64a16216cf84de59d01e5b05ffde7eda3607.tar.zst
freebsd-ports-gnome-b3ba64a16216cf84de59d01e5b05ffde7eda3607.zip
Add p5-Dir-Purge, purge directories to a given number of files.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/p5-Dir-Purge/Makefile22
-rw-r--r--sysutils/p5-Dir-Purge/distinfo3
-rw-r--r--sysutils/p5-Dir-Purge/pkg-descr5
-rw-r--r--sysutils/p5-Dir-Purge/pkg-plist5
5 files changed, 36 insertions, 0 deletions
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 <ehaupt@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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