git: 97b44e2a2a2e - main - devel/p5-Linux-Inotify2: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jun 2026 08:57:02 UTC
The branch main has been updated by decke:
URL: https://cgit.FreeBSD.org/ports/commit/?id=97b44e2a2a2e2be968ac9640650d005961f68141
commit 97b44e2a2a2e2be968ac9640650d005961f68141
Author: Martin Waschbüsch <martin@waschbuesch.de>
AuthorDate: 2026-06-25 08:54:29 +0000
Commit: Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2026-06-25 08:56:51 +0000
devel/p5-Linux-Inotify2: Add new port
PR: 294165
---
devel/Makefile | 1 +
devel/p5-Linux-Inotify2/Makefile | 25 +++++++++++++++++++++++++
devel/p5-Linux-Inotify2/distinfo | 3 +++
devel/p5-Linux-Inotify2/pkg-descr | 2 ++
devel/p5-Linux-Inotify2/pkg-plist | 3 +++
5 files changed, 34 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 8a37ddeb2617..9cd6c1dea988 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2922,6 +2922,7 @@
SUBDIR += p5-Lexical-Var
SUBDIR += p5-Lingua-JA-Fold
SUBDIR += p5-Lingua-Translit
+ SUBDIR += p5-Linux-Inotify2
SUBDIR += p5-List-AllUtils
SUBDIR += p5-List-BinarySearch
SUBDIR += p5-List-Cycle
diff --git a/devel/p5-Linux-Inotify2/Makefile b/devel/p5-Linux-Inotify2/Makefile
new file mode 100644
index 000000000000..6582f1a9611c
--- /dev/null
+++ b/devel/p5-Linux-Inotify2/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= Linux-Inotify2
+PORTVERSION= 2.3
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:MLEHMANN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= martin@waschbuesch.de
+COMMENT= Scalable directory/file change notification using Inotify syscalls
+WWW= https://metacpan.org/release/Linux-Inotify2
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-common-sense>=3.75:devel/p5-common-sense \
+ p5-Scalar-List-Utils>=1.70:lang/p5-Scalar-List-Utils
+TEST_DEPENDS= p5-Test-Simple>=1.302214:devel/p5-Test-Simple
+
+USES= inotify perl5
+USE_PERL5= configure
+
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Linux-Inotify2/distinfo b/devel/p5-Linux-Inotify2/distinfo
new file mode 100644
index 000000000000..385e60594d24
--- /dev/null
+++ b/devel/p5-Linux-Inotify2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1774962834
+SHA256 (Linux-Inotify2-2.3.tar.gz) = cb99150f9ffa51dbc3be5ee98d8e91c98cdfeae22eb88e718f2cf367bf270d17
+SIZE (Linux-Inotify2-2.3.tar.gz) = 10439
diff --git a/devel/p5-Linux-Inotify2/pkg-descr b/devel/p5-Linux-Inotify2/pkg-descr
new file mode 100644
index 000000000000..120c0ea1108b
--- /dev/null
+++ b/devel/p5-Linux-Inotify2/pkg-descr
@@ -0,0 +1,2 @@
+A perl interface to Inotify syscalls offering
+scalable directory/file change notification
diff --git a/devel/p5-Linux-Inotify2/pkg-plist b/devel/p5-Linux-Inotify2/pkg-plist
new file mode 100644
index 000000000000..670e2a878c83
--- /dev/null
+++ b/devel/p5-Linux-Inotify2/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Linux/Inotify2.pm
+%%SITE_ARCH%%/auto/Linux/Inotify2/Inotify2.so
+%%PERL5_MAN3%%/Linux::Inotify2.3.gz