summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-29 00:49:05 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-29 01:02:51 +0800
commit6654009b1c70fc4445a733d60291723f30675fd5 (patch)
treea0a45a398a4820487ed5da39b2f9adf33fb7796e /math
parentmath/p5-PDL-GSL: Add p5-PDL-GSL 2.100 (diff)
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.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-PDL-Graphics-IIS/Makefile23
-rw-r--r--math/p5-PDL-Graphics-IIS/distinfo3
-rw-r--r--math/p5-PDL-Graphics-IIS/pkg-descr9
-rw-r--r--math/p5-PDL-Graphics-IIS/pkg-plist3
5 files changed, 39 insertions, 0 deletions
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