summaryrefslogtreecommitdiff
path: root/devel/p5-Class-MethodMaker
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-03-29 18:55:46 +0000
committertv <tv@pkgsrc.org>2004-03-29 18:55:46 +0000
commit77ff53df73e7054cb8cb1affdf3749459f6dfec8 (patch)
tree4090574fe5dfc7161da2849a005b0d62cd32ebd6 /devel/p5-Class-MethodMaker
parent7954712b2dac7e9b54c0e719ddca3f11d6b5fdc4 (diff)
downloadpkgsrc-77ff53df73e7054cb8cb1affdf3749459f6dfec8.tar.gz
(note: 2.00 not imported because of some instability there; instead,
imported newest stable release, 1.12) This module solves the problem of having to write a bazillion get/set methods that are all the same. The argument to 'use' is a hash whose keys are the names of types of generic methods generated by MethodMaker and whose values tell method maker what methods to make. More precisely, the keys are the names of MethodMaker methods (methods that write methods) and the values are the arguments to those methods.
Diffstat (limited to 'devel/p5-Class-MethodMaker')
-rw-r--r--devel/p5-Class-MethodMaker/DESCR6
-rw-r--r--devel/p5-Class-MethodMaker/Makefile18
-rw-r--r--devel/p5-Class-MethodMaker/PLIST1
-rw-r--r--devel/p5-Class-MethodMaker/distinfo4
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/p5-Class-MethodMaker/DESCR b/devel/p5-Class-MethodMaker/DESCR
new file mode 100644
index 00000000000..2d1f20ef02f
--- /dev/null
+++ b/devel/p5-Class-MethodMaker/DESCR
@@ -0,0 +1,6 @@
+This module solves the problem of having to write a bazillion get/set
+methods that are all the same. The argument to 'use' is a hash whose
+keys are the names of types of generic methods generated by MethodMaker
+and whose values tell method maker what methods to make. More
+precisely, the keys are the names of MethodMaker methods (methods that
+write methods) and the values are the arguments to those methods.
diff --git a/devel/p5-Class-MethodMaker/Makefile b/devel/p5-Class-MethodMaker/Makefile
new file mode 100644
index 00000000000..490f35019b8
--- /dev/null
+++ b/devel/p5-Class-MethodMaker/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/29 18:55:46 tv Exp $
+#
+
+DISTNAME= Class-MethodMaker-1.12
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Class/}
+
+MAINTAINER= tv@duh.org
+HOMEPAGE= http://search.cpan.org/dist/Class-MethodMaker/
+COMMENT= Getter/setter OO method maker for class elements
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class-MethodMaker/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Class-MethodMaker/PLIST b/devel/p5-Class-MethodMaker/PLIST
new file mode 100644
index 00000000000..cbbbe80455d
--- /dev/null
+++ b/devel/p5-Class-MethodMaker/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/29 18:55:46 tv Exp $
diff --git a/devel/p5-Class-MethodMaker/distinfo b/devel/p5-Class-MethodMaker/distinfo
new file mode 100644
index 00000000000..da1da4b7de1
--- /dev/null
+++ b/devel/p5-Class-MethodMaker/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/29 18:55:46 tv Exp $
+
+SHA1 (Class-MethodMaker-1.12.tar.gz) = 2e13cc6353d40127f137fd49bd9433fbca78ddc8
+Size (Class-MethodMaker-1.12.tar.gz) = 45290 bytes