diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-10-03 02:10:13 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-10-03 02:10:13 +0000 |
commit | 2d6f33b6a9bdfd6b5c99824245f95d921b998e0c (patch) | |
tree | 9a83bc26abe158ef59a6be51e2f107958d100524 | |
parent | ebf53e142c6413a8fcb428f036456ff36031ae8c (diff) | |
download | ports-2d6f33b6a9bdfd6b5c99824245f95d921b998e0c.tar.gz ports-2d6f33b6a9bdfd6b5c99824245f95d921b998e0c.zip |
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.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-FFI-Platypus-Type-Enum/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-FFI-Platypus-Type-Enum/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-FFI-Platypus-Type-Enum/pkg-descr | 4 | ||||
-rw-r--r-- | devel/p5-FFI-Platypus-Type-Enum/pkg-plist | 2 |
5 files changed, 35 insertions, 0 deletions
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 |