aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-06-19 15:49:11 +0800
committeraaron <aaron@FreeBSD.org>2006-06-19 15:49:11 +0800
commita372db6384353cdf5b294448ba9668d9b1294e76 (patch)
tree37c12e16b163e021b79297fb622847c0c25de862 /sysutils
parentcade44a2e905ed1d34c2a014296fb886556e1d32 (diff)
downloadfreebsd-ports-gnome-a372db6384353cdf5b294448ba9668d9b1294e76.tar.gz
freebsd-ports-gnome-a372db6384353cdf5b294448ba9668d9b1294e76.tar.zst
freebsd-ports-gnome-a372db6384353cdf5b294448ba9668d9b1294e76.zip
Adding port sysutils/p5-Filesys-Df, Perl extension for filesystem space.
PR: ports/98249 Submitted by: aaron Approved by: maintainer timeout, tobez (implicit)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/p5-Filesys-Df/Makefile28
-rw-r--r--sysutils/p5-Filesys-Df/distinfo3
-rw-r--r--sysutils/p5-Filesys-Df/pkg-descr11
-rw-r--r--sysutils/p5-Filesys-Df/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 7b7287c5a99d..fdcde1628827 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -373,6 +373,7 @@
SUBDIR += openupsd
SUBDIR += p5-File-Stat-Bits
SUBDIR += p5-File-Which
+ SUBDIR += p5-Filesys-Df
SUBDIR += p5-Filesys-DiskFree
SUBDIR += p5-Filesys-DiskSpace
SUBDIR += p5-Filesys-DiskUsage
diff --git a/sysutils/p5-Filesys-Df/Makefile b/sysutils/p5-Filesys-Df/Makefile
new file mode 100644
index 000000000000..8b98e3036041
--- /dev/null
+++ b/sysutils/p5-Filesys-Df/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Filesys-Df
+# Date created: 31 May 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Filesys-Df
+PORTVERSION= 0.90
+CATEGORIES= sysutils perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Filesys
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= pirzyk@freebsd.org
+COMMENT= Perl extension for filesystem space
+
+PERL_CONFIGURE= yes
+
+MAN3= Filesys::Df.3
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= requires statvfs() which is not available before FreeBSD-5*
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/p5-Filesys-Df/distinfo b/sysutils/p5-Filesys-Df/distinfo
new file mode 100644
index 000000000000..651aec07f110
--- /dev/null
+++ b/sysutils/p5-Filesys-Df/distinfo
@@ -0,0 +1,3 @@
+MD5 (Filesys-Df-0.90.tar.gz) = 8eb90674d343355892dbddd313a8b594
+SHA256 (Filesys-Df-0.90.tar.gz) = 8eeec8f1b4a347b48846876d644a8587e82935404a6ba92b99b0749753d6fe88
+SIZE (Filesys-Df-0.90.tar.gz) = 6763
diff --git a/sysutils/p5-Filesys-Df/pkg-descr b/sysutils/p5-Filesys-Df/pkg-descr
new file mode 100644
index 000000000000..b572160ace1c
--- /dev/null
+++ b/sysutils/p5-Filesys-Df/pkg-descr
@@ -0,0 +1,11 @@
+This module provides a way to obtain filesystem disk space information.
+This is a Unix only distribution. If you want to gather this information
+for Unix and Windows, use Filesys::DfPortable. The only major benefit of
+using Filesys::Df over Filesys::DfPortable, is that Filesys::Df supports
+the use of open filehandles as arguments.
+
+The module should work with all flavors of Unix, including Mac OS X
+(Darwin, Tiger, etc), and Cygwin.
+
+WWW: http://search.cpan.org/dist/Filesys-Df/
+Author: Ian Guthrie <IGuthrie@aol.com>
diff --git a/sysutils/p5-Filesys-Df/pkg-plist b/sysutils/p5-Filesys-Df/pkg-plist
new file mode 100644
index 000000000000..abf542ce1172
--- /dev/null
+++ b/sysutils/p5-Filesys-Df/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Filesys/Df.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Df/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Df/Df.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Df/Df.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys/Df
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Filesys
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Filesys