git: 2194231df9a2 - main - textproc/p5-Tie-Handle-Offset: add new port (+)

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Wed, 16 Jul 2025 17:21:44 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2194231df9a2e2e764e8e57c1b8cc570c5b2c4c8

commit 2194231df9a2e2e764e8e57c1b8cc570c5b2c4c8
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-07-16 17:20:23 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-07-16 17:21:32 +0000

    textproc/p5-Tie-Handle-Offset: add new port (+)
    
    This modules provides a file handle that hides the beginning of a file.
    
    PR:     288257
---
 textproc/p5-Tie-Handle-Offset/Makefile  | 20 ++++++++++++++++++++
 textproc/p5-Tie-Handle-Offset/distinfo  |  3 +++
 textproc/p5-Tie-Handle-Offset/pkg-descr |  3 +++
 textproc/p5-Tie-Handle-Offset/pkg-plist |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/textproc/p5-Tie-Handle-Offset/Makefile b/textproc/p5-Tie-Handle-Offset/Makefile
new file mode 100644
index 000000000000..8a0a7f95250b
--- /dev/null
+++ b/textproc/p5-Tie-Handle-Offset/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=		Tie-Handle-Offset
+PORTVERSION=		0.004
+CATEGORIES=		textproc perl5
+MASTER_SITES=		CPAN
+MASTER_SITE_SUBDIR=	CPAN:DAGOLDEN
+PKGNAMEPREFIX=		p5-
+
+MAINTAINER=		root@dc365.ru
+COMMENT=		Tied handle that hides the beginning of a file
+WWW=			https://metacpan.org/dist/Tie-Handle-Offset
+
+LICENSE=		APACHE20
+LICENSE_FILE=		${WRKSRC}/LICENSE
+
+USES=			localbase perl5
+USE_PERL5=		configure test
+
+NO_ARCH=		yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Tie-Handle-Offset/distinfo b/textproc/p5-Tie-Handle-Offset/distinfo
new file mode 100644
index 000000000000..5ac88dfb497c
--- /dev/null
+++ b/textproc/p5-Tie-Handle-Offset/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1750917183
+SHA256 (Tie-Handle-Offset-0.004.tar.gz) = ee9f39055dc695aa244a252f56ffd37f8be07209b337ad387824721206d2a89e
+SIZE (Tie-Handle-Offset-0.004.tar.gz) = 14683
diff --git a/textproc/p5-Tie-Handle-Offset/pkg-descr b/textproc/p5-Tie-Handle-Offset/pkg-descr
new file mode 100644
index 000000000000..09da3b9106c0
--- /dev/null
+++ b/textproc/p5-Tie-Handle-Offset/pkg-descr
@@ -0,0 +1,3 @@
+This modules provides a file handle that hides the beginning of a file.
+After opening, the file is positioned at the offset location. seek()
+and tell() calls are modified to preserve the offset.
diff --git a/textproc/p5-Tie-Handle-Offset/pkg-plist b/textproc/p5-Tie-Handle-Offset/pkg-plist
new file mode 100644
index 000000000000..b12e29ff0408
--- /dev/null
+++ b/textproc/p5-Tie-Handle-Offset/pkg-plist
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Tie/Handle/Offset.pm
+%%SITE_PERL%%/Tie/Handle/SkipHeader.pm
+%%PERL5_MAN3%%/Tie::Handle::Offset.3.gz
+%%PERL5_MAN3%%/Tie::Handle::SkipHeader.3.gz