git: 6654009b1c70 - main - math/p5-PDL-Graphics-IIS: Add p5-PDL-Graphics-IIS 0.001

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

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

commit 6654009b1c70fc4445a733d60291723f30675fd5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-28 16:49:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-28 17:02:51 +0000

    math/p5-PDL-Graphics-IIS: Add p5-PDL-Graphics-IIS 0.001
    
    PDL::Graphics::IIS provides an interface to any image display 'device' which
    support the 'IIS protocol' - viz the SAOimage and Ximtool X-windows programs,
    the old SunView imtool program and presumably even the original IIS CRT itself
    if they aren't all in museums!
    
    These programs should be familiar to astronomers - they are used by the common
    IRAF system.
    
    Non-astronomers may find they quite nifty for displaying 2D data.
---
 math/Makefile                      |  1 +
 math/p5-PDL-Graphics-IIS/Makefile  | 23 +++++++++++++++++++++++
 math/p5-PDL-Graphics-IIS/distinfo  |  3 +++
 math/p5-PDL-Graphics-IIS/pkg-descr |  9 +++++++++
 math/p5-PDL-Graphics-IIS/pkg-plist |  3 +++
 5 files changed, 39 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index c45208ec193b..a48ef7b3b970 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -820,6 +820,7 @@
     SUBDIR += p5-PDL-DateTime
     SUBDIR += p5-PDL-Fit
     SUBDIR += p5-PDL-GSL
+    SUBDIR += p5-PDL-Graphics-IIS
     SUBDIR += p5-Parse-Range
     SUBDIR += p5-Roman
     SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-PDL-Graphics-IIS/Makefile b/math/p5-PDL-Graphics-IIS/Makefile
new file mode 100644
index 000000000000..723a8fcec40c
--- /dev/null
+++ b/math/p5-PDL-Graphics-IIS/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	PDL-Graphics-IIS
+PORTVERSION=	0.001
+CATEGORIES=	math perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Display PDL images on IIS devices (saoimage/ximtool)
+WWW=		https://metacpan.org/dist/PDL-Graphics-IIS
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-PDL>=2.093:math/p5-PDL
+
+USES=		perl5
+USE_PERL5=	configure
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/Graphics/IIS/IIS.so
+
+.include <bsd.port.mk>
diff --git a/math/p5-PDL-Graphics-IIS/distinfo b/math/p5-PDL-Graphics-IIS/distinfo
new file mode 100644
index 000000000000..c4b5f59781c0
--- /dev/null
+++ b/math/p5-PDL-Graphics-IIS/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736671135
+SHA256 (PDL-Graphics-IIS-0.001.tar.gz) = e7c85783272a9bbb592c38388c2c4644b4d2bbcbb402f52a1bc94335f6dfdb9f
+SIZE (PDL-Graphics-IIS-0.001.tar.gz) = 12605
diff --git a/math/p5-PDL-Graphics-IIS/pkg-descr b/math/p5-PDL-Graphics-IIS/pkg-descr
new file mode 100644
index 000000000000..af589276aa12
--- /dev/null
+++ b/math/p5-PDL-Graphics-IIS/pkg-descr
@@ -0,0 +1,9 @@
+PDL::Graphics::IIS provides an interface to any image display 'device' which
+support the 'IIS protocol' - viz the SAOimage and Ximtool X-windows programs,
+the old SunView imtool program and presumably even the original IIS CRT itself
+if they aren't all in museums!
+
+These programs should be familiar to astronomers - they are used by the common
+IRAF system.
+
+Non-astronomers may find they quite nifty for displaying 2D data.
diff --git a/math/p5-PDL-Graphics-IIS/pkg-plist b/math/p5-PDL-Graphics-IIS/pkg-plist
new file mode 100644
index 000000000000..646caef44e3c
--- /dev/null
+++ b/math/p5-PDL-Graphics-IIS/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/PDL/Graphics/IIS.pm
+%%SITE_ARCH%%/auto/PDL/Graphics/IIS/IIS.so
+%%PERL5_MAN3%%/PDL::Graphics::IIS.3.gz