summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2025-01-31 13:14:34 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2025-01-31 13:14:34 +0000
commit671c6c6e9692e22174909b7c418d2555696f5e7c (patch)
treea23784ecc9c165bf43337950e7df8997e853f7c5
parentarchivers/py-zlib-ng: Add an option to use zlib-ng from ports instead of bund... (diff)
devel/p5-ExtUtils-H2PM: new port had been added (+)
Automatically generate Perl modules to wrap C header files. Requested by: glebius
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-ExtUtils-H2PM/Makefile22
-rw-r--r--devel/p5-ExtUtils-H2PM/distinfo3
-rw-r--r--devel/p5-ExtUtils-H2PM/pkg-descr4
-rw-r--r--devel/p5-ExtUtils-H2PM/pkg-plist2
5 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 77cb0c8fb101..763ebb732711 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2574,6 +2574,7 @@
SUBDIR += p5-ExtUtils-Constant
SUBDIR += p5-ExtUtils-CppGuess
SUBDIR += p5-ExtUtils-Depends
+ SUBDIR += p5-ExtUtils-H2PM
SUBDIR += p5-ExtUtils-HasCompiler
SUBDIR += p5-ExtUtils-Helpers
SUBDIR += p5-ExtUtils-Install
diff --git a/devel/p5-ExtUtils-H2PM/Makefile b/devel/p5-ExtUtils-H2PM/Makefile
new file mode 100644
index 000000000000..2941a50d3692
--- /dev/null
+++ b/devel/p5-ExtUtils-H2PM/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= ExtUtils-H2PM
+PORTVERSION= 0.11
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Automatically generate Perl modules to wrap C header files
+WWW= https://metacpan.org/dist/ExtUtils-H2PM
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-Module-Build>=0.4004:devel/p5-Module-Build
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-ExtUtils-H2PM/distinfo b/devel/p5-ExtUtils-H2PM/distinfo
new file mode 100644
index 000000000000..07bcefcb1b36
--- /dev/null
+++ b/devel/p5-ExtUtils-H2PM/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679323201
+SHA256 (ExtUtils-H2PM-0.11.tar.gz) = 46b4aec9a7d2c5749256d09dcf7ba4c2d00cddd41101482499ed88c766e9e8da
+SIZE (ExtUtils-H2PM-0.11.tar.gz) = 25379
diff --git a/devel/p5-ExtUtils-H2PM/pkg-descr b/devel/p5-ExtUtils-H2PM/pkg-descr
new file mode 100644
index 000000000000..0270d8e91914
--- /dev/null
+++ b/devel/p5-ExtUtils-H2PM/pkg-descr
@@ -0,0 +1,4 @@
+This module assists in generating wrappers around system functionality,
+such as socket() types or ioctl() calls, where the only interesting
+features required are the values of some constants or structure layouts
+normally only known to the C header files.
diff --git a/devel/p5-ExtUtils-H2PM/pkg-plist b/devel/p5-ExtUtils-H2PM/pkg-plist
new file mode 100644
index 000000000000..f3b08402f98e
--- /dev/null
+++ b/devel/p5-ExtUtils-H2PM/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/ExtUtils/H2PM.pm
+%%PERL5_MAN3%%/ExtUtils::H2PM.3.gz