git: f9a152265042 - main - Add math/p5-Alien-GSL: Detect and get configuration setting for GSL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Dec 2021 12:53:44 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f9a152265042edab02e0997fd93eb18aeae32ac8
commit f9a152265042edab02e0997fd93eb18aeae32ac8
Author: Tomohiro Hosaka <bokutin@bokut.in>
AuthorDate: 2021-12-19 12:50:48 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-12-19 12:52:04 +0000
Add math/p5-Alien-GSL: Detect and get configuration setting for GSL
PR: 257517
---
math/Makefile | 1 +
math/p5-Alien-GSL/Makefile | 26 ++++++++++++++++++++++++++
math/p5-Alien-GSL/distinfo | 3 +++
math/p5-Alien-GSL/pkg-descr | 4 ++++
math/p5-Alien-GSL/pkg-plist | 6 ++++++
5 files changed, 40 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index 411e7a00036c..6ad791c2d0d6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -592,6 +592,7 @@
SUBDIR += osi-conic
SUBDIR += osiipopt
SUBDIR += osqp
+ SUBDIR += p5-Alien-GSL
SUBDIR += p5-AI-DecisionTree
SUBDIR += p5-AI-Genetic
SUBDIR += p5-AI-NeuralNet-BackProp
diff --git a/math/p5-Alien-GSL/Makefile b/math/p5-Alien-GSL/Makefile
new file mode 100644
index 000000000000..e20b20fe63c6
--- /dev/null
+++ b/math/p5-Alien-GSL/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= Alien-GSL
+PORTVERSION= 1.07
+CATEGORIES= math perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR=CPAN:PLICEASE
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= bokutin@bokut.in
+COMMENT= Detect and get configuration setting for GSL
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+
+LIB_DEPENDS= libgsl.so:math/gsl
+BUILD_DEPENDS= p5-Alien-Build>=2.21:devel/p5-Alien-Build \
+ p5-PkgConfig>0:devel/p5-PkgConfig
+RUN_DEPENDS= p5-Alien-Build>=2.21:devel/p5-Alien-Build
+TEST_DEPENDS= p5-Test2-Suite>=0:devel/p5-Test2-Suite \
+ p5-Alien-Build>=0:devel/p5-Alien-Build
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/p5-Alien-GSL/distinfo b/math/p5-Alien-GSL/distinfo
new file mode 100644
index 000000000000..62c74df6e99f
--- /dev/null
+++ b/math/p5-Alien-GSL/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1627710185
+SHA256 (Alien-GSL-1.07.tar.gz) = 68f61a5624f846aae3a05effe65141aeb5b619d010626fffc4a4ebd923318fb6
+SIZE (Alien-GSL-1.07.tar.gz) = 5946
diff --git a/math/p5-Alien-GSL/pkg-descr b/math/p5-Alien-GSL/pkg-descr
new file mode 100644
index 000000000000..73d58b65f554
--- /dev/null
+++ b/math/p5-Alien-GSL/pkg-descr
@@ -0,0 +1,4 @@
+Alien::GSL can be used to detect and get configuration settings
+from an installed GSL library.
+
+WWW: https://metacpan.org/release/Alien-GSL
diff --git a/math/p5-Alien-GSL/pkg-plist b/math/p5-Alien-GSL/pkg-plist
new file mode 100644
index 000000000000..76a4daf88f94
--- /dev/null
+++ b/math/p5-Alien-GSL/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_ARCH%%/Alien/GSL.pm
+%%SITE_ARCH%%/Alien/GSL/Install/Files.pm
+%%SITE_ARCH%%/auto/Alien/GSL/GSL.txt
+%%SITE_ARCH%%/auto/share/dist/Alien-GSL/_alien/alien.json
+%%SITE_ARCH%%/auto/share/dist/Alien-GSL/_alien/alienfile
+%%PERL5_MAN3%%/Alien::GSL.3.gz