git: dc59b7cb11ef - main - math/p5-PDL-IO-Browser: Add p5-PDL-IO-Browser 0.001

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 28 Jan 2025 17:06:11 UTC
The branch main has been updated by sunpoet:

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

commit dc59b7cb11ef391f0bc5df68b0f00b2106b37e97
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-28 16:49:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-28 17:03:32 +0000

    math/p5-PDL-IO-Browser: Add p5-PDL-IO-Browser 0.001
    
    PDL::IO::Browsercd provides cursor terminal browser for ndarrays.
---
 math/Makefile                    |  1 +
 math/p5-PDL-IO-Browser/Makefile  | 25 +++++++++++++++++++++++++
 math/p5-PDL-IO-Browser/distinfo  |  3 +++
 math/p5-PDL-IO-Browser/pkg-descr |  1 +
 math/p5-PDL-IO-Browser/pkg-plist |  3 +++
 5 files changed, 33 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 056c32a8f593..e3cc0fc41073 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -823,6 +823,7 @@
     SUBDIR += p5-PDL-Graphics-IIS
     SUBDIR += p5-PDL-Graphics-Limits
     SUBDIR += p5-PDL-Graphics-PLplot
+    SUBDIR += p5-PDL-IO-Browser
     SUBDIR += p5-Parse-Range
     SUBDIR += p5-Roman
     SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-PDL-IO-Browser/Makefile b/math/p5-PDL-IO-Browser/Makefile
new file mode 100644
index 000000000000..5d99d2f31387
--- /dev/null
+++ b/math/p5-PDL-IO-Browser/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	PDL-IO-Browser
+PORTVERSION=	0.001
+CATEGORIES=	math perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	2D data browser for PDL
+WWW=		https://metacpan.org/dist/PDL-IO-Browser
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \
+		p5-File-Which>=0:sysutils/p5-File-Which \
+		${RUN_DEPENDS}
+RUN_DEPENDS=	p5-PDL>=0:math/p5-PDL
+
+USES=		perl5
+USE_PERL5=	configure
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/IO/Browser/Browser.so
+
+.include <bsd.port.mk>
diff --git a/math/p5-PDL-IO-Browser/distinfo b/math/p5-PDL-IO-Browser/distinfo
new file mode 100644
index 000000000000..cddc47213c0b
--- /dev/null
+++ b/math/p5-PDL-IO-Browser/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736671141
+SHA256 (PDL-IO-Browser-0.001.tar.gz) = f4aadcd3481e935d837af2c588b93b90d8fc27ca6df0ba77c310d9f3a432b0c9
+SIZE (PDL-IO-Browser-0.001.tar.gz) = 6117
diff --git a/math/p5-PDL-IO-Browser/pkg-descr b/math/p5-PDL-IO-Browser/pkg-descr
new file mode 100644
index 000000000000..e02b48b21744
--- /dev/null
+++ b/math/p5-PDL-IO-Browser/pkg-descr
@@ -0,0 +1 @@
+PDL::IO::Browsercd provides cursor terminal browser for ndarrays.
diff --git a/math/p5-PDL-IO-Browser/pkg-plist b/math/p5-PDL-IO-Browser/pkg-plist
new file mode 100644
index 000000000000..fb5424f2eaa3
--- /dev/null
+++ b/math/p5-PDL-IO-Browser/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/PDL/IO/Browser.pm
+%%SITE_ARCH%%/auto/PDL/IO/Browser/Browser.so
+%%PERL5_MAN3%%/PDL::IO::Browser.3.gz