61b4b4831a
The accessors pragma lets you create simple accessors at compile-time. This saves you from writing them by hand, which tends to result in cut-n-paste errors and a mess of duplicated code. It can also help you reduce the ammount of unwanted direct-variable access that may creep into your codebase when you're feeling lazy. accessors was designed with laziness in mind.
22 lines
414 B
Makefile
22 lines
414 B
Makefile
# $OpenBSD $
|
|
|
|
COMMENT= create accessor methods in caller's package
|
|
|
|
DISTNAME= accessors-1.01
|
|
CATEGORIES= devel
|
|
|
|
# Artistic/GPL
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
CONFIGURE_STYLE= modbuild
|
|
|
|
MODULES= cpan
|
|
CPAN_AUTHOR= SPURKIS
|
|
|
|
PKG_ARCH= *
|
|
|
|
.include <bsd.port.mk>
|