aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Vyshenski <svysh.fbsd@gmail.com>2024-08-06 22:15:31 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2024-08-06 22:15:31 +0000
commit937e0616ab28410757b592485a14fd91a4b57153 (patch)
tree84b45bcf0a56bdd5235b0d8a5b73fb3308597784
parent12c2b2318856c599777501067d876c19ef430e55 (diff)
devel/p5-ExtUtils-HasCompiler: New port: Check for the presence of a compiler
Check for the presence of a compiler. This module tries to check if the current system is capable of compiling, linking and loading an XS module. https://metacpan.org/dist/ExtUtils-HasCompiler PR: 280625
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-ExtUtils-HasCompiler/Makefile19
-rw-r--r--devel/p5-ExtUtils-HasCompiler/distinfo3
-rw-r--r--devel/p5-ExtUtils-HasCompiler/pkg-descr3
-rw-r--r--devel/p5-ExtUtils-HasCompiler/pkg-plist2
5 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3ddaca698263..c96833737c6c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2526,6 +2526,7 @@
SUBDIR += p5-ExtUtils-Constant
SUBDIR += p5-ExtUtils-CppGuess
SUBDIR += p5-ExtUtils-Depends
+ SUBDIR += p5-ExtUtils-HasCompiler
SUBDIR += p5-ExtUtils-Helpers
SUBDIR += p5-ExtUtils-Install
SUBDIR += p5-ExtUtils-InstallPaths
diff --git a/devel/p5-ExtUtils-HasCompiler/Makefile b/devel/p5-ExtUtils-HasCompiler/Makefile
new file mode 100644
index 000000000000..7ddda5e45db1
--- /dev/null
+++ b/devel/p5-ExtUtils-HasCompiler/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= ExtUtils-HasCompiler
+DISTVERSION= 0.025
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svysh.fbsd@gmail.com
+COMMENT= Check for the presence of a compiler
+WWW= https://metacpan.org/dist/ExtUtils-HasCompiler
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-ExtUtils-HasCompiler/distinfo b/devel/p5-ExtUtils-HasCompiler/distinfo
new file mode 100644
index 000000000000..eb523d4d3c3e
--- /dev/null
+++ b/devel/p5-ExtUtils-HasCompiler/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722691758
+SHA256 (ExtUtils-HasCompiler-0.025.tar.gz) = 02e1e7275df00682d3ca8ea1c27a30591d6dd08b3e3865c0958afae911635a66
+SIZE (ExtUtils-HasCompiler-0.025.tar.gz) = 16203
diff --git a/devel/p5-ExtUtils-HasCompiler/pkg-descr b/devel/p5-ExtUtils-HasCompiler/pkg-descr
new file mode 100644
index 000000000000..aebaf2056099
--- /dev/null
+++ b/devel/p5-ExtUtils-HasCompiler/pkg-descr
@@ -0,0 +1,3 @@
+Check for the presence of a compiler.
+This module tries to check if the current system is capable of
+compiling, linking and loading an XS module.
diff --git a/devel/p5-ExtUtils-HasCompiler/pkg-plist b/devel/p5-ExtUtils-HasCompiler/pkg-plist
new file mode 100644
index 000000000000..30462eb64e4d
--- /dev/null
+++ b/devel/p5-ExtUtils-HasCompiler/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/ExtUtils/HasCompiler.pm
+%%PERL5_MAN3%%/ExtUtils::HasCompiler.3.gz