git: 2d6f33b6a9bd - main - devel/p5-FFI-Platypus-Type-Enum: Add p5-FFI-Platypus-Type-Enum 0.06
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 02:24:24 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2d6f33b6a9bdfd6b5c99824245f95d921b998e0c
commit 2d6f33b6a9bdfd6b5c99824245f95d921b998e0c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-03 02:10:13 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-03 02:10:13 +0000
devel/p5-FFI-Platypus-Type-Enum: Add p5-FFI-Platypus-Type-Enum 0.06
FFI::Platypus::Type::Enum is a helper for making enumerated types. It makes the
most sense to use this when you have an enumerated type with a small number of
possible values. For a large set of enumerated values or constants, see
FFI::Platypus::Constant.
---
devel/Makefile | 1 +
devel/p5-FFI-Platypus-Type-Enum/Makefile | 25 +++++++++++++++++++++++++
devel/p5-FFI-Platypus-Type-Enum/distinfo | 3 +++
devel/p5-FFI-Platypus-Type-Enum/pkg-descr | 4 ++++
devel/p5-FFI-Platypus-Type-Enum/pkg-plist | 2 ++
5 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index a8fcdf301182..0bf18de42412 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2378,6 +2378,7 @@
SUBDIR += p5-FFI-CheckLib
SUBDIR += p5-FFI-Platypus
SUBDIR += p5-FFI-Platypus-Declare
+ SUBDIR += p5-FFI-Platypus-Type-Enum
SUBDIR += p5-FSA-Rules
SUBDIR += p5-Feature-Compat-Try
SUBDIR += p5-Fennec-Lite
diff --git a/devel/p5-FFI-Platypus-Type-Enum/Makefile b/devel/p5-FFI-Platypus-Type-Enum/Makefile
new file mode 100644
index 000000000000..63462c4d8b88
--- /dev/null
+++ b/devel/p5-FFI-Platypus-Type-Enum/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= FFI-Platypus-Type-Enum
+PORTVERSION= 0.06
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Custom platypus type for dealing with C enumerated types
+WWW= https://metacpan.org/dist/FFI-Platypus-Type-Enum
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Ref-Util>=0:devel/p5-Ref-Util
+TEST_DEPENDS= p5-FFI-Platypus>=1.00:devel/p5-FFI-Platypus \
+ p5-Test2-Suite>=0.000121:devel/p5-Test2-Suite
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/p5-FFI-Platypus-Type-Enum/distinfo b/devel/p5-FFI-Platypus-Type-Enum/distinfo
new file mode 100644
index 000000000000..d8bd4021af25
--- /dev/null
+++ b/devel/p5-FFI-Platypus-Type-Enum/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1663672724
+SHA256 (FFI-Platypus-Type-Enum-0.06.tar.gz) = c954a604f7d6929624fa9413d8d0e1d83b4bd977d05627cace73ed53a95c77df
+SIZE (FFI-Platypus-Type-Enum-0.06.tar.gz) = 20544
diff --git a/devel/p5-FFI-Platypus-Type-Enum/pkg-descr b/devel/p5-FFI-Platypus-Type-Enum/pkg-descr
new file mode 100644
index 000000000000..bbc06e8c6d02
--- /dev/null
+++ b/devel/p5-FFI-Platypus-Type-Enum/pkg-descr
@@ -0,0 +1,4 @@
+FFI::Platypus::Type::Enum is a helper for making enumerated types. It makes the
+most sense to use this when you have an enumerated type with a small number of
+possible values. For a large set of enumerated values or constants, see
+FFI::Platypus::Constant.
diff --git a/devel/p5-FFI-Platypus-Type-Enum/pkg-plist b/devel/p5-FFI-Platypus-Type-Enum/pkg-plist
new file mode 100644
index 000000000000..e02b15049322
--- /dev/null
+++ b/devel/p5-FFI-Platypus-Type-Enum/pkg-plist
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/FFI/Platypus/Type/Enum.pm
+%%PERL5_MAN3%%/FFI::Platypus::Type::Enum.3.gz