git: ee84aa4877b9 - main - math/p5-PDL-IO-IDL: Add p5-PDL-IO-IDL 2.097

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

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

commit ee84aa4877b92dbc1081cfcb3ff2ae3d85e867cb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-28 16:49:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-28 17:04:07 +0000

    math/p5-PDL-IO-IDL: Add p5-PDL-IO-IDL 2.097
    
    PDL::IO::IDL allows you to read and write IDL(tm) data files.
    
    Currently, only reading is implemented. Scalars, arrays, and structures are all
    supported. Heap pointers, compiled code, and objects are not supported. Of those
    three, only heap pointers are likely to be supported in the future.
    
    This code was not developed by RSI, makers of IDL.
---
 math/Makefile                |  1 +
 math/p5-PDL-IO-IDL/Makefile  | 22 ++++++++++++++++++++++
 math/p5-PDL-IO-IDL/distinfo  |  3 +++
 math/p5-PDL-IO-IDL/pkg-descr |  7 +++++++
 math/p5-PDL-IO-IDL/pkg-plist |  2 ++
 5 files changed, 35 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 12d8d281222a..905630756c77 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -828,6 +828,7 @@
     SUBDIR += p5-PDL-IO-ENVI
     SUBDIR += p5-PDL-IO-GD
     SUBDIR += p5-PDL-IO-HDF
+    SUBDIR += p5-PDL-IO-IDL
     SUBDIR += p5-Parse-Range
     SUBDIR += p5-Roman
     SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-PDL-IO-IDL/Makefile b/math/p5-PDL-IO-IDL/Makefile
new file mode 100644
index 000000000000..5d80a281addb
--- /dev/null
+++ b/math/p5-PDL-IO-IDL/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	PDL-IO-IDL
+PORTVERSION=	2.097
+CATEGORIES=	math perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	I/O of IDL Save Files
+WWW=		https://metacpan.org/dist/PDL-IO-IDL
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-PDL>=2.094:math/p5-PDL
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/math/p5-PDL-IO-IDL/distinfo b/math/p5-PDL-IO-IDL/distinfo
new file mode 100644
index 000000000000..9410e22cb2ea
--- /dev/null
+++ b/math/p5-PDL-IO-IDL/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736671151
+SHA256 (PDL-IO-IDL-2.097.tar.gz) = 9318314b89eb2d94f283ea8aabcfe15bec467e853305dae2b101a36894598834
+SIZE (PDL-IO-IDL-2.097.tar.gz) = 13924
diff --git a/math/p5-PDL-IO-IDL/pkg-descr b/math/p5-PDL-IO-IDL/pkg-descr
new file mode 100644
index 000000000000..80293c0b14ef
--- /dev/null
+++ b/math/p5-PDL-IO-IDL/pkg-descr
@@ -0,0 +1,7 @@
+PDL::IO::IDL allows you to read and write IDL(tm) data files.
+
+Currently, only reading is implemented. Scalars, arrays, and structures are all
+supported. Heap pointers, compiled code, and objects are not supported. Of those
+three, only heap pointers are likely to be supported in the future.
+
+This code was not developed by RSI, makers of IDL.
diff --git a/math/p5-PDL-IO-IDL/pkg-plist b/math/p5-PDL-IO-IDL/pkg-plist
new file mode 100644
index 000000000000..e73dbc20bc51
--- /dev/null
+++ b/math/p5-PDL-IO-IDL/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/PDL/IO/IDL.pm
+%%PERL5_MAN3%%/PDL::IO::IDL.3.gz