aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-28 16:49:59 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-01-28 17:04:08 +0000
commitba7c80a43fe43eb450bf12e27dcf8bceabf90f03 (patch)
tree53275564f3d475af6a5e3dd84b5c80dcf5d9b15f
parent06c7d4afe44e8ee06d459bfe7144c8494f2494e8 (diff)
math/p5-PDL-Perldl2: Add p5-PDL-Perldl2 2.002
The pdl2 program, also known as the Perldl2 shell, is a second generation version of the original perldl interactive PDL shell. It attempts to be backward compatible in usage while providing improved features, better support for Perl syntax, and an more easily extended framework based on the Devel::REPL shell. By default, command lines beginning with the default prompt of either pdl2 or perldl (one of 'pdl> ', 'PDL> ', or 'perldl> ') will have the prefix string and surrounding whitespace stripped. This allows for easy cut-and-paste from sample PDL shell sessions or other examples into another PDL shell session.
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-PDL-Perldl2/Makefile24
-rw-r--r--math/p5-PDL-Perldl2/distinfo3
-rw-r--r--math/p5-PDL-Perldl2/pkg-descr9
-rw-r--r--math/p5-PDL-Perldl2/pkg-plist15
5 files changed, 52 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index ddeaf5c867dd..31b3e079d0df 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -832,6 +832,7 @@
SUBDIR += p5-PDL-LinearAlgebra
SUBDIR += p5-PDL-Minuit
SUBDIR += p5-PDL-Opt-Simplex
+ SUBDIR += p5-PDL-Perldl2
SUBDIR += p5-Parse-Range
SUBDIR += p5-Roman
SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-PDL-Perldl2/Makefile b/math/p5-PDL-Perldl2/Makefile
new file mode 100644
index 000000000000..a91d3d2272c0
--- /dev/null
+++ b/math/p5-PDL-Perldl2/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= PDL-Perldl2
+PORTVERSION= 2.002
+CATEGORIES= math perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple shell (version 2) for PDL
+WWW= https://metacpan.org/dist/PDL-Perldl2
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Devel-REPL>=0:devel/p5-Devel-REPL \
+ p5-PDL>=2.095:math/p5-PDL \
+ p5-namespace-clean>=0:devel/p5-namespace-clean
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/p5-PDL-Perldl2/distinfo b/math/p5-PDL-Perldl2/distinfo
new file mode 100644
index 000000000000..e3fd239e3671
--- /dev/null
+++ b/math/p5-PDL-Perldl2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736671159
+SHA256 (PDL-Perldl2-2.002.tar.gz) = 337e1ad39f250bf1bd24f1feef449f21c9895a5d58ddbf5c375ea42400f92a66
+SIZE (PDL-Perldl2-2.002.tar.gz) = 16492
diff --git a/math/p5-PDL-Perldl2/pkg-descr b/math/p5-PDL-Perldl2/pkg-descr
new file mode 100644
index 000000000000..963c0ef261dc
--- /dev/null
+++ b/math/p5-PDL-Perldl2/pkg-descr
@@ -0,0 +1,9 @@
+The pdl2 program, also known as the Perldl2 shell, is a second generation
+version of the original perldl interactive PDL shell. It attempts to be backward
+compatible in usage while providing improved features, better support for Perl
+syntax, and an more easily extended framework based on the Devel::REPL shell.
+
+By default, command lines beginning with the default prompt of either pdl2 or
+perldl (one of 'pdl> ', 'PDL> ', or 'perldl> ') will have the prefix string and
+surrounding whitespace stripped. This allows for easy cut-and-paste from sample
+PDL shell sessions or other examples into another PDL shell session.
diff --git a/math/p5-PDL-Perldl2/pkg-plist b/math/p5-PDL-Perldl2/pkg-plist
new file mode 100644
index 000000000000..9b0788a9c8cc
--- /dev/null
+++ b/math/p5-PDL-Perldl2/pkg-plist
@@ -0,0 +1,15 @@
+bin/pdl2
+%%SITE_PERL%%/PDL/Perldl2/Plugin/CleanErrors.pm
+%%SITE_PERL%%/PDL/Perldl2/Plugin/NiceSlice.pm
+%%SITE_PERL%%/PDL/Perldl2/Plugin/PDLCommands.pm
+%%SITE_PERL%%/PDL/Perldl2/Plugin/PrintControl.pm
+%%SITE_PERL%%/PDL/Perldl2/Profile/Perldl2.pm
+%%SITE_PERL%%/PDL/Perldl2/Script.pm
+%%SITE_PERL%%/PDL/pdl2.pod
+%%PERL5_MAN1%%/pdl2.1.gz
+%%PERL5_MAN3%%/PDL::Perldl2::CleanErrors.3.gz
+%%PERL5_MAN3%%/PDL::Perldl2::NiceSlice.3.gz
+%%PERL5_MAN3%%/PDL::Perldl2::PDLCommands.3.gz
+%%PERL5_MAN3%%/PDL::Perldl2::Perldl2.3.gz
+%%PERL5_MAN3%%/PDL::Perldl2::PrintControl.3.gz
+%%PERL5_MAN3%%/PDL::pdl2.3.gz