Date: Wed, 29 Jun 2005 10:31:27 -0600 From: "Aaron Dalton" <aaron@daltons.ca> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/82784: New Port: devel/p5-IO-stringy Message-ID: <E1DnfTD-0008vu-CT@finch.st> Resent-Message-ID: <200506291640.j5TGeOSc068311@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 82784 >Category: ports >Synopsis: New Port: devel/p5-IO-stringy >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 29 16:40:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Aaron Dalton >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: >Environment: System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross@chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386 >Description: This toolkit primarily provides modules for performing both traditional and object-oriented i/o) on things other than normal filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines. In the more-traditional IO::Handle front, we have IO::AtomicFile which may be used to painlessly create files which are updated atomically. And in the "this-may-prove-useful" corner, we have IO::Wrap, whose exported wraphandle() function will clothe anything that's not a blessed object in an IO::Handle-like wrapper... so you can just use OO syntax and stop worrying about whether your function's caller handed you a string, a globref, or a FileHandle. >How-To-Repeat: >Fix: --- submission.txt 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-IO-stringy # p5-IO-stringy/Makefile # p5-IO-stringy/distinfo # p5-IO-stringy/pkg-descr # p5-IO-stringy/pkg-plist # echo c - p5-IO-stringy mkdir -p p5-IO-stringy > /dev/null 2>&1 echo x - p5-IO-stringy/Makefile sed 's/^X//' >p5-IO-stringy/Makefile << 'END-of-p5-IO-stringy/Makefile' X# New ports collection makefile for: p5-IO-stringy X# Date created: 29 June 2005 X# Whom: Aaron Dalton <aaron@daltons.ca> X# X# $FreeBSD$ X# X XPORTNAME= IO-stringy XPORTVERSION= 2.110 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= IO XPKGNAMEPREFIX= p5- X XMAINTAINER= aaron@daltons.ca XCOMMENT= I/O on in-core objects like strings and arrays X XMAN3= IO::AtomicFile.3 IO::InnerFile.3 IO::Lines.3 IO::Scalar.3 \ X IO::ScalarArray.3 IO::Stringy.3 IO::Wrap.3 IO::WrapTie.3 X XPERL_CONFIGURE= yes X X.include <bsd.port.mk> END-of-p5-IO-stringy/Makefile echo x - p5-IO-stringy/distinfo sed 's/^X//' >p5-IO-stringy/distinfo << 'END-of-p5-IO-stringy/distinfo' XMD5 (IO-stringy-2.110.tar.gz) = 2e6a976cfa5521e815c1fdf4006982de XSIZE (IO-stringy-2.110.tar.gz) = 40590 END-of-p5-IO-stringy/distinfo echo x - p5-IO-stringy/pkg-descr sed 's/^X//' >p5-IO-stringy/pkg-descr << 'END-of-p5-IO-stringy/pkg-descr' XThis toolkit primarily provides modules for performing both traditional Xand object-oriented i/o) on things other than normal filehandles; in Xparticular, IO::Scalar, IO::ScalarArray, and IO::Lines. X XIn the more-traditional IO::Handle front, we have IO::AtomicFile which may Xbe used to painlessly create files which are updated atomically. X XAnd in the "this-may-prove-useful" corner, we have IO::Wrap, whose Xexported wraphandle() function will clothe anything that's not a blessed Xobject in an IO::Handle-like wrapper... so you can just use OO syntax and Xstop worrying about whether your function's caller handed you a string, a Xglobref, or a FileHandle. X XWWW: http://search.cpan.org/dist/IO-stringy/ XAuthor: David F. Skoll <dfs@roaringpenguin.com> X X- Aaron Dalton Xaaron@daltons.ca END-of-p5-IO-stringy/pkg-descr echo x - p5-IO-stringy/pkg-plist sed 's/^X//' >p5-IO-stringy/pkg-plist << 'END-of-p5-IO-stringy/pkg-plist' X%%SITE_PERL%%/IO/AtomicFile.pm X%%SITE_PERL%%/IO/InnerFile.pm X%%SITE_PERL%%/IO/Lines.pm X%%SITE_PERL%%/IO/Scalar.pm X%%SITE_PERL%%/IO/ScalarArray.pm X%%SITE_PERL%%/IO/Stringy.pm X%%SITE_PERL%%/IO/Wrap.pm X%%SITE_PERL%%/IO/WrapTie.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Stringy/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Stringy X@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true X END-of-p5-IO-stringy/pkg-plist exit --- submission.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DnfTD-0008vu-CT>