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.
This commit is contained in:
Po-Chuan Hsieh 2022-10-03 10:10:13 +08:00
parent ebf53e142c
commit 2d6f33b6a9
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
5 changed files with 35 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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.

View file

@ -0,0 +1,2 @@
%%SITE_PERL%%/FFI/Platypus/Type/Enum.pm
%%PERL5_MAN3%%/FFI::Platypus::Type::Enum.3.gz