- import p5-accessors
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.
This commit is contained in:
parent
5ba0adf8d0
commit
61b4b4831a
21
devel/p5-accessors/Makefile
Normal file
21
devel/p5-accessors/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $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>
|
5
devel/p5-accessors/distinfo
Normal file
5
devel/p5-accessors/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (accessors-1.01.tar.gz) = /HZMnL/QN2LA1Pj/qrrssA==
|
||||
RMD160 (accessors-1.01.tar.gz) = +H5PycEO1xGmZFGdpn9aLj5f+WE=
|
||||
SHA1 (accessors-1.01.tar.gz) = W2RzeSa/jR3QTICslvALvFmTido=
|
||||
SHA256 (accessors-1.01.tar.gz) = Oo2wDzgUjzr62+UzDcVJDZkz+crhN+hC7CJaTTrbLZ8=
|
||||
SIZE (accessors-1.01.tar.gz) = 8650
|
7
devel/p5-accessors/pkg/DESCR
Normal file
7
devel/p5-accessors/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
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.
|
12
devel/p5-accessors/pkg/PLIST
Normal file
12
devel/p5-accessors/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/19 22:51:02 jasper Exp $
|
||||
${P5SITE}/accessors/
|
||||
${P5SITE}/accessors.pm
|
||||
${P5SITE}/accessors/chained.pm
|
||||
${P5SITE}/accessors/classic.pm
|
||||
${P5SITE}/accessors/ro.pm
|
||||
${P5SITE}/accessors/rw.pm
|
||||
@man man/man3p/accessors.3p
|
||||
@man man/man3p/accessors::chained.3p
|
||||
@man man/man3p/accessors::classic.3p
|
||||
@man man/man3p/accessors::ro.3p
|
||||
@man man/man3p/accessors::rw.3p
|
Loading…
x
Reference in New Issue
Block a user