diff options
author | clsung <clsung@FreeBSD.org> | 2007-09-20 11:17:09 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-09-20 11:17:09 +0800 |
commit | 7c76957d80653b3579187aaaabfab7c022eb9f74 (patch) | |
tree | c4223d658cad8b6de11a944412ca179184874575 | |
parent | 61f9ed7fe27155c4b3e07bc5e6b090aaf99625c4 (diff) | |
download | freebsd-ports-gnome-7c76957d80653b3579187aaaabfab7c022eb9f74.tar.gz freebsd-ports-gnome-7c76957d80653b3579187aaaabfab7c022eb9f74.tar.zst freebsd-ports-gnome-7c76957d80653b3579187aaaabfab7c022eb9f74.zip |
There's a whole bunch of class builders out there. In fact, creating a
class builder seems to be something of a rite of passage (this is my
fifth, at least).
Unfortunately, most of the time I want a class builder I'm in a hurry
and sketching out lots of fairly simple data classes with fairly
simple structure, mostly just read-only accessors, and that's about it.
Often this is for code that won't end up on CPAN, so adding a small
dependency doesn't matter much. I just want to be able to define these
classes FAST.
By which I mean LESS typing than writing them by hand, not more. And I
don't need all those weird complex features that bloat out the code
and take over the whole way I build modules.
And so, I present yet another member of the Tiny family of modules,
Object::Tiny.
WWW: http://search.cpan.org/dist/Object-Tiny/
PR: ports/116101
Submitted by: Gea-Suan Lin <gslin at gslin.org>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Object-Tiny/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-Object-Tiny/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Object-Tiny/pkg-descr | 20 | ||||
-rw-r--r-- | devel/p5-Object-Tiny/pkg-plist | 6 |
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4e679d4ea292..0356e449d5dd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1385,6 +1385,7 @@ SUBDIR += p5-Object-MultiType SUBDIR += p5-Object-Realize-Later SUBDIR += p5-Object-Signature + SUBDIR += p5-Object-Tiny SUBDIR += p5-P4 SUBDIR += p5-P4-Client SUBDIR += p5-PAR diff --git a/devel/p5-Object-Tiny/Makefile b/devel/p5-Object-Tiny/Makefile new file mode 100644 index 000000000000..c9f78220d4d2 --- /dev/null +++ b/devel/p5-Object-Tiny/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-Object-Tiny +# Date created: 2007-09-05 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Object-Tiny +PORTVERSION= 1.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= Object +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Class building as simple as it gets + +PERL_CONFIGURE= yes + +MAN3= Object::Tiny.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Object-Tiny/distinfo b/devel/p5-Object-Tiny/distinfo new file mode 100644 index 000000000000..eafe6ebc7b2b --- /dev/null +++ b/devel/p5-Object-Tiny/distinfo @@ -0,0 +1,3 @@ +MD5 (Object-Tiny-1.03.tar.gz) = 3c6b2c422ee330c4a9cf991d58605334 +SHA256 (Object-Tiny-1.03.tar.gz) = 4b2b014de93642ae7e0eff68068b70a5d8a4bfd10ab282418e887197675a2f4d +SIZE (Object-Tiny-1.03.tar.gz) = 23792 diff --git a/devel/p5-Object-Tiny/pkg-descr b/devel/p5-Object-Tiny/pkg-descr new file mode 100644 index 000000000000..c2fcfa62e814 --- /dev/null +++ b/devel/p5-Object-Tiny/pkg-descr @@ -0,0 +1,20 @@ +There's a whole bunch of class builders out there. In fact, creating a +class builder seems to be something of a rite of passage (this is my +fifth, at least). + +Unfortunately, most of the time I want a class builder I'm in a hurry +and sketching out lots of fairly simple data classes with fairly +simple structure, mostly just read-only accessors, and that's about it. + +Often this is for code that won't end up on CPAN, so adding a small +dependency doesn't matter much. I just want to be able to define these +classes FAST. + +By which I mean LESS typing than writing them by hand, not more. And I +don't need all those weird complex features that bloat out the code +and take over the whole way I build modules. + +And so, I present yet another member of the Tiny family of modules, +Object::Tiny. + +WWW: http://search.cpan.org/dist/Object-Tiny/ diff --git a/devel/p5-Object-Tiny/pkg-plist b/devel/p5-Object-Tiny/pkg-plist new file mode 100644 index 000000000000..d7db95794895 --- /dev/null +++ b/devel/p5-Object-Tiny/pkg-plist @@ -0,0 +1,6 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Tiny/.packlist +%%SITE_PERL%%/Object/Tiny.pm +@dirrmtry %%SITE_PERL%%/Object +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Tiny +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object |