git: a9e6257cfd79 - main - math/p5-PDL-GSL: Add p5-PDL-GSL 2.100

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

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

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

    math/p5-PDL-GSL: Add p5-PDL-GSL 2.100
    
    PDL::GSL is an interface to the GNU Scientific Library. It contains the
    following packages:
    - PDL::GSL::CDF: PDL interface to GSL Cumulative Distribution Functions
    - PDL::GSL::DIFF: PDL interface to numerical differentiation routines in GSL
    - PDL::GSL::INTEG: PDL interface to numerical integration routines in GSL
    - PDL::GSL::INTERP: PDL interface to Interpolation routines in GSL
    - PDL::GSL::LINALG: PDL interface to linear algebra routines in GSL
    - PDL::GSL::MROOT: PDL interface to multidimensional root-finding routines in
      GSL
    - PDL::GSL::RNG: PDL interface to RNG and randist routines in GSL
    - PDL::GSL::SF: PDL interface to GSL Special Functions
    - PDL::Stats::Distr: Parameter estimations and probability density functions for
      distributions
---
 math/Makefile             |  1 +
 math/p5-PDL-GSL/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 math/p5-PDL-GSL/distinfo  |  3 +++
 math/p5-PDL-GSL/pkg-descr | 13 +++++++++++++
 math/p5-PDL-GSL/pkg-plist | 22 ++++++++++++++++++++++
 5 files changed, 73 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 8ab256f5872d..c45208ec193b 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -819,6 +819,7 @@
     SUBDIR += p5-PDL
     SUBDIR += p5-PDL-DateTime
     SUBDIR += p5-PDL-Fit
+    SUBDIR += p5-PDL-GSL
     SUBDIR += p5-Parse-Range
     SUBDIR += p5-Roman
     SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-PDL-GSL/Makefile b/math/p5-PDL-GSL/Makefile
new file mode 100644
index 000000000000..ae3fa3de7d66
--- /dev/null
+++ b/math/p5-PDL-GSL/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	PDL-GSL
+PORTVERSION=	2.100
+CATEGORIES=	math perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	PDL interface to the GNU Scientific Library
+WWW=		https://metacpan.org/dist/PDL-GSL
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+LIB_DEPENDS=	libgsl.so:math/gsl
+RUN_DEPENDS=	p5-PDL>=2.096:math/p5-PDL
+
+USES=		perl5
+USE_PERL5=	configure
+
+MAKE_JOBS_UNSAFE=	yes
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/CDF/CDF.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/DIFF/DIFF.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/INTEG/INTEG.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/INTERP/INTERP.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/LINALG/LINALG.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/MROOT/MROOT.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/RNG/RNG.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/GSL/SF/SF.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/Stats/Distr/Distr.so
+
+.include <bsd.port.mk>
diff --git a/math/p5-PDL-GSL/distinfo b/math/p5-PDL-GSL/distinfo
new file mode 100644
index 000000000000..a25b994ac895
--- /dev/null
+++ b/math/p5-PDL-GSL/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736671133
+SHA256 (PDL-GSL-2.100.tar.gz) = 6b6744f861242f882891dcf80eeb5268fc20b54fa1456c7bd5d7d0eb6d3b4318
+SIZE (PDL-GSL-2.100.tar.gz) = 83362
diff --git a/math/p5-PDL-GSL/pkg-descr b/math/p5-PDL-GSL/pkg-descr
new file mode 100644
index 000000000000..57ba5c4df268
--- /dev/null
+++ b/math/p5-PDL-GSL/pkg-descr
@@ -0,0 +1,13 @@
+PDL::GSL is an interface to the GNU Scientific Library. It contains the
+following packages:
+- PDL::GSL::CDF: PDL interface to GSL Cumulative Distribution Functions
+- PDL::GSL::DIFF: PDL interface to numerical differentiation routines in GSL
+- PDL::GSL::INTEG: PDL interface to numerical integration routines in GSL
+- PDL::GSL::INTERP: PDL interface to Interpolation routines in GSL
+- PDL::GSL::LINALG: PDL interface to linear algebra routines in GSL
+- PDL::GSL::MROOT: PDL interface to multidimensional root-finding routines in
+  GSL
+- PDL::GSL::RNG: PDL interface to RNG and randist routines in GSL
+- PDL::GSL::SF: PDL interface to GSL Special Functions
+- PDL::Stats::Distr: Parameter estimations and probability density functions for
+  distributions
diff --git a/math/p5-PDL-GSL/pkg-plist b/math/p5-PDL-GSL/pkg-plist
new file mode 100644
index 000000000000..73fe980520b1
--- /dev/null
+++ b/math/p5-PDL-GSL/pkg-plist
@@ -0,0 +1,22 @@
+%%SITE_ARCH%%/PDL/Demos/GSL_CDF.pm
+%%SITE_ARCH%%/PDL/Demos/GSL_RNG.pm
+%%SITE_ARCH%%/PDL/GSL.pm
+%%SITE_ARCH%%/PDL/GSL/CDF.pm
+%%SITE_ARCH%%/PDL/GSL/DIFF.pm
+%%SITE_ARCH%%/PDL/GSL/INTEG.pm
+%%SITE_ARCH%%/PDL/GSL/INTERP.pm
+%%SITE_ARCH%%/PDL/GSL/LINALG.pm
+%%SITE_ARCH%%/PDL/GSL/MROOT.pm
+%%SITE_ARCH%%/PDL/GSL/RNG.pm
+%%SITE_ARCH%%/PDL/GSL/SF.pm
+%%SITE_ARCH%%/PDL/Stats/Distr.pm
+%%SITE_ARCH%%/auto/PDL/GSL/CDF/CDF.so
+%%SITE_ARCH%%/auto/PDL/GSL/DIFF/DIFF.so
+%%SITE_ARCH%%/auto/PDL/GSL/INTEG/INTEG.so
+%%SITE_ARCH%%/auto/PDL/GSL/INTERP/INTERP.so
+%%SITE_ARCH%%/auto/PDL/GSL/LINALG/LINALG.so
+%%SITE_ARCH%%/auto/PDL/GSL/MROOT/MROOT.so
+%%SITE_ARCH%%/auto/PDL/GSL/RNG/RNG.so
+%%SITE_ARCH%%/auto/PDL/GSL/SF/SF.so
+%%SITE_ARCH%%/auto/PDL/Stats/Distr/Distr.so
+%%PERL5_MAN3%%/PDL::GSL.3.gz