openbsd-ports/devel/p5-enum/Makefile
sthen 70f7f33835 import p5-enum
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.

ok merdely@
2007-09-09 23:05:17 +00:00

15 lines
305 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/09 23:05:17 sthen Exp $
COMMENT= C style enumerated types and bitmask flags
MODULES= cpan
DISTNAME= enum-1.016
CATEGORIES= devel
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>