summaryrefslogtreecommitdiff
path: root/filesystems/p5-Filesys-Statvfs
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-09-27 12:48:46 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-06 16:17:35 +0100
commit6e2da9672f79f44048d597f0f61e4646cdeade9d (patch)
treec92e4b3158e3419e8cec38e00227d08dcdaab3e9 /filesystems/p5-Filesys-Statvfs
parentmath/sdpa: speed up build (diff)
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
Diffstat (limited to 'filesystems/p5-Filesys-Statvfs')
-rw-r--r--filesystems/p5-Filesys-Statvfs/Makefile15
-rw-r--r--filesystems/p5-Filesys-Statvfs/distinfo3
-rw-r--r--filesystems/p5-Filesys-Statvfs/pkg-descr13
-rw-r--r--filesystems/p5-Filesys-Statvfs/pkg-plist3
4 files changed, 34 insertions, 0 deletions
diff --git a/filesystems/p5-Filesys-Statvfs/Makefile b/filesystems/p5-Filesys-Statvfs/Makefile
new file mode 100644
index 000000000000..cb5c0edb80b7
--- /dev/null
+++ b/filesystems/p5-Filesys-Statvfs/Makefile
@@ -0,0 +1,15 @@
+PORTNAME= Filesys-Statvfs
+PORTVERSION= 0.82
+PORTREVISION= 1
+CATEGORIES= filesystems sysutils perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= pirzyk@FreeBSD.org
+COMMENT= Perl extension for statvfs() and fstatvfs()
+WWW= https://metacpan.org/release/Filesys-Statvfs
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
diff --git a/filesystems/p5-Filesys-Statvfs/distinfo b/filesystems/p5-Filesys-Statvfs/distinfo
new file mode 100644
index 000000000000..d86ff35b399a
--- /dev/null
+++ b/filesystems/p5-Filesys-Statvfs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730905189
+SHA256 (Filesys-Statvfs-0.82.tar.gz) = dc9494ca17af2b5226d50313efc5f02f3ff268d71c653cdb39bdd65fb3cf916a
+SIZE (Filesys-Statvfs-0.82.tar.gz) = 3964
diff --git a/filesystems/p5-Filesys-Statvfs/pkg-descr b/filesystems/p5-Filesys-Statvfs/pkg-descr
new file mode 100644
index 000000000000..af468cd421ee
--- /dev/null
+++ b/filesystems/p5-Filesys-Statvfs/pkg-descr
@@ -0,0 +1,13 @@
+Interface for statvfs() and fstatvfs()
+
+Unless you need access to the bsize, flag, and namemax values, you should
+probably look at using Filesys::DfPortable or Filesys::Df instead.
+
+The statvfs() and fstatvfs() functions will return a list of values, or
+will return undef and set $! if there was an error.
+
+The values returned are described in the statvfs header or the statvfs()
+man page.
+
+The module assumes that if you have statvfs(), fstatvfs() will also be
+available.
diff --git a/filesystems/p5-Filesys-Statvfs/pkg-plist b/filesystems/p5-Filesys-Statvfs/pkg-plist
new file mode 100644
index 000000000000..4cd96e0eafc2
--- /dev/null
+++ b/filesystems/p5-Filesys-Statvfs/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Filesys/Statvfs.pm
+%%SITE_ARCH%%/auto/Filesys/Statvfs/Statvfs.so
+%%PERL5_MAN3%%/Filesys::Statvfs.3.gz