ports/116101: [NEW PORT] devel/p5-Object-Tiny: Class building as simple as it gets

Gea-Suan Lin gslin at gslin.org
Wed Sep 5 05:40:02 UTC 2007


>Number:         116101
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Object-Tiny: Class building as simple as it gets
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 05 05:40:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ccreader.NCTU.edu.tw 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jul 29 04:54:23 UTC 2007
>Description:
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/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Object-Tiny-1.03.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Object-Tiny
#	p5-Object-Tiny/pkg-descr
#	p5-Object-Tiny/Makefile
#	p5-Object-Tiny/pkg-plist
#	p5-Object-Tiny/distinfo
#
echo c - p5-Object-Tiny
mkdir -p p5-Object-Tiny > /dev/null 2>&1
echo x - p5-Object-Tiny/pkg-descr
sed 's/^X//' >p5-Object-Tiny/pkg-descr << 'END-of-p5-Object-Tiny/pkg-descr'
XThere's a whole bunch of class builders out there. In fact, creating a
Xclass builder seems to be something of a rite of passage (this is my
Xfifth, at least).
X
XUnfortunately, most of the time I want a class builder I'm in a hurry
Xand sketching out lots of fairly simple data classes with fairly
Xsimple structure, mostly just read-only accessors, and that's about it.
X
XOften this is for code that won't end up on CPAN, so adding a small
Xdependency doesn't matter much. I just want to be able to define these
Xclasses FAST.
X
XBy which I mean LESS typing than writing them by hand, not more. And I
Xdon't need all those weird complex features that bloat out the code
Xand take over the whole way I build modules.
X
XAnd so, I present yet another member of the Tiny family of modules,
XObject::Tiny.
X
XWWW:	http://search.cpan.org/dist/Object-Tiny/
END-of-p5-Object-Tiny/pkg-descr
echo x - p5-Object-Tiny/Makefile
sed 's/^X//' >p5-Object-Tiny/Makefile << 'END-of-p5-Object-Tiny/Makefile'
X# New ports collection makefile for:	p5-Object-Tiny
X# Date created:		2007-09-05
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Object-Tiny
XPORTVERSION=	1.03
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	Object
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Class building as simple as it gets
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Object::Tiny.3
X
X.include <bsd.port.mk>
END-of-p5-Object-Tiny/Makefile
echo x - p5-Object-Tiny/pkg-plist
sed 's/^X//' >p5-Object-Tiny/pkg-plist << 'END-of-p5-Object-Tiny/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Tiny/.packlist
X%%SITE_PERL%%/Object/Tiny.pm
X at dirrmtry %%SITE_PERL%%/Object
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Tiny
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object
END-of-p5-Object-Tiny/pkg-plist
echo x - p5-Object-Tiny/distinfo
sed 's/^X//' >p5-Object-Tiny/distinfo << 'END-of-p5-Object-Tiny/distinfo'
XMD5 (Object-Tiny-1.03.tar.gz) = 3c6b2c422ee330c4a9cf991d58605334
XSHA256 (Object-Tiny-1.03.tar.gz) = 4b2b014de93642ae7e0eff68068b70a5d8a4bfd10ab282418e887197675a2f4d
XSIZE (Object-Tiny-1.03.tar.gz) = 23792
END-of-p5-Object-Tiny/distinfo
exit
--- p5-Object-Tiny-1.03.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list