SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
devel/p5-enum/Makefile
Normal file
12
devel/p5-enum/Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
COMMENT= C style enumerated types and bitmask flags
|
||||
|
||||
MODULES= cpan
|
||||
PKG_ARCH= *
|
||||
DISTNAME = enum-1.12
|
||||
CATEGORIES= devel
|
||||
EPOCH= 0
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-enum/distinfo
Normal file
2
devel/p5-enum/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (enum-1.12.tar.gz) = aaeokc04iO2LAsXpmh9In5KmLsNRwLx4lP1719FEfqk=
|
||||
SIZE (enum-1.12.tar.gz) = 14908
|
11
devel/p5-enum/pkg/DESCR
Normal file
11
devel/p5-enum/pkg/DESCR
Normal file
|
@ -0,0 +1,11 @@
|
|||
Defines a set of symbolic constants with ordered numeric values ala
|
||||
C enum types. What are they good for? Typical uses would be for giving
|
||||
mnemonic names to indexes of arrays.
|
||||
|
||||
This not only reads easier, but can also be typo-checked at compile
|
||||
time when run under use strict. That is, if you misspell Days_Fri
|
||||
as Days_Fry, you'll generate a compile error.
|
||||
|
||||
Also capable of creating ordered bitmask constants, allowing the
|
||||
easy creation of bitmask constants, allowing you to efficiently store
|
||||
many true/false options within a single integer.
|
2
devel/p5-enum/pkg/PLIST
Normal file
2
devel/p5-enum/pkg/PLIST
Normal file
|
@ -0,0 +1,2 @@
|
|||
${P5SITE}/enum.pm
|
||||
@man man/man3p/enum.3p
|
Loading…
Add table
Add a link
Reference in a new issue