pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-accessors The accessors pragma lets you creat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3032f6e638f3
branches:  trunk
changeset: 554974:3032f6e638f3
user:      rhaen <rhaen%pkgsrc.org@localhost>
date:      Mon Feb 23 00:03:45 2009 +0000

description:
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.

diffstat:

 devel/p5-accessors/DESCR    |   6 ++++++
 devel/p5-accessors/Makefile |  18 ++++++++++++++++++
 devel/p5-accessors/distinfo |   5 +++++
 3 files changed, 29 insertions(+), 0 deletions(-)

diffs (41 lines):

diff -r 21bc999805cd -r 3032f6e638f3 devel/p5-accessors/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-accessors/DESCR  Mon Feb 23 00:03:45 2009 +0000
@@ -0,0 +1,6 @@
+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.
diff -r 21bc999805cd -r 3032f6e638f3 devel/p5-accessors/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-accessors/Makefile       Mon Feb 23 00:03:45 2009 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/23 00:03:45 rhaen Exp $
+#
+
+DISTNAME=      accessors-1.01
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SP/SPURKIS/}
+
+MAINTAINER=    rhaen%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/accessors/
+COMMENT=       Perl module - create accessor methods in caller's package
+
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/accessors/.packlist
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 21bc999805cd -r 3032f6e638f3 devel/p5-accessors/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-accessors/distinfo       Mon Feb 23 00:03:45 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/23 00:03:45 rhaen Exp $
+
+SHA1 (accessors-1.01.tar.gz) = 5b64737926bf8d1dd04c80ac96f00bbc599389da
+RMD160 (accessors-1.01.tar.gz) = f87e4fc9c10ed711a664519da67f5a2e3e5ff961
+Size (accessors-1.01.tar.gz) = 8650 bytes



Home | Main Index | Thread Index | Old Index