Date: Fri, 1 Feb 2008 04:45:59 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/120190: [NEW PORT] devel/p5-self: Provides "self" and "args" keywords in your OO program Message-ID: <20080131204559.80AB41CC1D@ccreader.NCTU.edu.tw> Resent-Message-ID: <200801312050.m0VKo2ir011403@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 120190 >Category: ports >Synopsis: [NEW PORT] devel/p5-self: Provides "self" and "args" keywords in your OO program >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: Thu Jan 31 20:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: >Environment: System: FreeBSD ccreader.NCTU.edu.tw 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #3: Tue Jan 15 11:22:08 CST 2008 >Description: This moudles adds self and args keywords in your Perl OO module. It's really just handy helpers to get rid of: my $self = shift; Basically, self is just eqaul to $_[0], and args is just $_[1..$#_]. WWW: http://search.cpan.org/dist/self/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-self-0.15.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-self # p5-self/pkg-descr # p5-self/Makefile # p5-self/pkg-plist # p5-self/distinfo # echo c - p5-self mkdir -p p5-self > /dev/null 2>&1 echo x - p5-self/pkg-descr sed 's/^X//' >p5-self/pkg-descr << 'END-of-p5-self/pkg-descr' XThis moudles adds self and args keywords in your Perl OO module. It's Xreally just handy helpers to get rid of: X X my $self = shift; X XBasically, self is just eqaul to $_[0], and args is just $_[1..$#_]. X XWWW: http://search.cpan.org/dist/self/ END-of-p5-self/pkg-descr echo x - p5-self/Makefile sed 's/^X//' >p5-self/Makefile << 'END-of-p5-self/Makefile' X# New ports collection makefile for: p5-self X# Date created: 2008-02-01 X# Whom: Gea-Suan Lin <gslin@gslin.org> X# X# $FreeBSD$ X# X XPORTNAME= self XPORTVERSION= 0.15 XCATEGORIES= devel perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= ../../authors/id/G/GU/GUGOD/ XPKGNAMEPREFIX= p5- X XMAINTAINER= gslin@gslin.org XCOMMENT= Provides "self" and "args" keywords in your OO program X XRUN_DEPENDS= ${SITE_PERL}/Sub/Exporter.pm:${PORTSDIR}/devel/p5-Sub-Exporter X XPERL_CONFIGURE= yes X XMAN3= self.3 X X.include <bsd.port.mk> END-of-p5-self/Makefile echo x - p5-self/pkg-plist sed 's/^X//' >p5-self/pkg-plist << 'END-of-p5-self/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/%%PERL_ARCH%%/auto/self/.packlist X%%SITE_PERL%%/self.pm X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/self END-of-p5-self/pkg-plist echo x - p5-self/distinfo sed 's/^X//' >p5-self/distinfo << 'END-of-p5-self/distinfo' XMD5 (self-0.15.tar.gz) = 15de5484c9533ad48f38f562ad747366 XSHA256 (self-0.15.tar.gz) = 56b3b52ffc4c1d70f5198ea1e11184052eec55697884fd5a287923afd778606d XSIZE (self-0.15.tar.gz) = 14874 END-of-p5-self/distinfo exit --- p5-self-0.15.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080131204559.80AB41CC1D>