git: 397ad33a4cee - main - math/p5-PDL-Minuit: Add p5-PDL-Minuit 0.001

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

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

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

    math/p5-PDL-Minuit: Add p5-PDL-Minuit 0.001
    
    PDL::Minuit implements an interface to the Minuit minimization routines (part of
    the CERN Library).
---
 math/Makefile                |  1 +
 math/p5-PDL-Minuit/Makefile  | 25 +++++++++++++++++++++++++
 math/p5-PDL-Minuit/distinfo  |  3 +++
 math/p5-PDL-Minuit/pkg-descr |  2 ++
 math/p5-PDL-Minuit/pkg-plist |  3 +++
 5 files changed, 34 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 3a367ad0cf8e..b0fbadfd4a08 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -830,6 +830,7 @@
     SUBDIR += p5-PDL-IO-HDF
     SUBDIR += p5-PDL-IO-IDL
     SUBDIR += p5-PDL-LinearAlgebra
+    SUBDIR += p5-PDL-Minuit
     SUBDIR += p5-Parse-Range
     SUBDIR += p5-Roman
     SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-PDL-Minuit/Makefile b/math/p5-PDL-Minuit/Makefile
new file mode 100644
index 000000000000..9a4d7d451876
--- /dev/null
+++ b/math/p5-PDL-Minuit/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	PDL-Minuit
+PORTVERSION=	0.001
+CATEGORIES=	math perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	PDL interface to the Minuit library
+WWW=		https://metacpan.org/dist/PDL-Minuit
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-PDL>=2.093:math/p5-PDL \
+		p5-ExtUtils-F77>=1.26:lang/p5-ExtUtils-F77 \
+		${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/Minuit/Minuit.so
+
+.include <bsd.port.mk>
diff --git a/math/p5-PDL-Minuit/distinfo b/math/p5-PDL-Minuit/distinfo
new file mode 100644
index 000000000000..87d0b5025b62
--- /dev/null
+++ b/math/p5-PDL-Minuit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736671155
+SHA256 (PDL-Minuit-0.001.tar.gz) = f90a6e0eb98a4d6ac867fe060dfaf6a8288247165c346c9dcf1cc9cefab7d695
+SIZE (PDL-Minuit-0.001.tar.gz) = 66517
diff --git a/math/p5-PDL-Minuit/pkg-descr b/math/p5-PDL-Minuit/pkg-descr
new file mode 100644
index 000000000000..c7988391959a
--- /dev/null
+++ b/math/p5-PDL-Minuit/pkg-descr
@@ -0,0 +1,2 @@
+PDL::Minuit implements an interface to the Minuit minimization routines (part of
+the CERN Library).
diff --git a/math/p5-PDL-Minuit/pkg-plist b/math/p5-PDL-Minuit/pkg-plist
new file mode 100644
index 000000000000..719540637d31
--- /dev/null
+++ b/math/p5-PDL-Minuit/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/PDL/Minuit.pm
+%%SITE_ARCH%%/auto/PDL/Minuit/Minuit.so
+%%PERL5_MAN3%%/PDL::Minuit.3.gz