ports/100094: [NEW-PORT] devel/p5-Devel-LexAlias: alias lexical variables
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Tue Jul 11 17:00:45 UTC 2006
>Number: 100094
>Category: ports
>Synopsis: [NEW-PORT] devel/p5-Devel-LexAlias: alias lexical variables
>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: Tue Jul 11 17:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ying-Chieh Chen
>Release: FreeBSD 6.1-STABLE i386
>Organization:
Generiton Inc.
>Environment:
System: FreeBSD i386.yinjieh.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed May 10 01:02:50 CST 2006 root at i386.yinjieh.org:/usr/obj/usr/src/sys/YINJIEH i386
>Description:
Description from the homepage:
Devel::LexAlias provides the ability to alias a lexical variable in a
subroutines scope to one of your choosing.
If you don't know why you'd want to do this, I'd suggest that you skip
this module. If you think you have a use for it, I'd insist on it.
Still here?
lexalias( $where, $name, $variable )
$where refers to the subroutine in which to alias the lexical, it
can be a coderef or a call level such that you'd give to caller
$name is the name of the lexical within that subroutine
$variable is a reference to the variable to install at that location
WWW: http://search.cpan.org/dist/Devel-LexAlias/
Generated with my own hands v1.1
>How-To-Repeat:
>Fix:
--- p5-Devel-LexAlias.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-Devel-LexAlias
# p5-Devel-LexAlias/Makefile
# p5-Devel-LexAlias/distinfo
# p5-Devel-LexAlias/pkg-descr
# p5-Devel-LexAlias/pkg-plist
#
echo c - p5-Devel-LexAlias
mkdir -p p5-Devel-LexAlias > /dev/null 2>&1
echo x - p5-Devel-LexAlias/Makefile
sed 's/^X//' >p5-Devel-LexAlias/Makefile << 'END-of-p5-Devel-LexAlias/Makefile'
X# ex:ts=8
X# Ports collection makefile for: Devel-LexAlias
X# Date created: Jul. 12, 2006
X# Whom: Ying-Chieh Chen
X#
X# $FreeBSD$
X#
X
XPORTNAME= Devel-LexAlias
XPORTVERSION= 0.04
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Devel
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= yinjieh at csie.nctu.edu.tw
XCOMMENT= A perl module which does alias lexical variables
X
XPERL_CONFIGURE= yes
X
XMAN3= Devel::LexAlias.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500800
XIGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Devel-LexAlias/Makefile
echo x - p5-Devel-LexAlias/distinfo
sed 's/^X//' >p5-Devel-LexAlias/distinfo << 'END-of-p5-Devel-LexAlias/distinfo'
XMD5 (Devel-LexAlias-0.04.tar.gz) = 7fe986f50b467fa8575a67f0729fbb1d
XSHA256 (Devel-LexAlias-0.04.tar.gz) = f610bbabc530d3771192d9a2feb31c90dea891c1cc0bd5d3c5ccd1e324cd639c
XSIZE (Devel-LexAlias-0.04.tar.gz) = 2888
END-of-p5-Devel-LexAlias/distinfo
echo x - p5-Devel-LexAlias/pkg-descr
sed 's/^X//' >p5-Devel-LexAlias/pkg-descr << 'END-of-p5-Devel-LexAlias/pkg-descr'
XDescription from the homepage:
X
XDevel::LexAlias provides the ability to alias a lexical variable in a
Xsubroutines scope to one of your choosing.
X
XIf you don't know why you'd want to do this, I'd suggest that you skip
Xthis module. If you think you have a use for it, I'd insist on it.
X
XStill here?
X
Xlexalias( $where, $name, $variable )
X
X $where refers to the subroutine in which to alias the lexical, it
X can be a coderef or a call level such that you'd give to caller
X
X $name is the name of the lexical within that subroutine
X
X $variable is a reference to the variable to install at that location
X
XWWW: http://search.cpan.org/dist/Devel-LexAlias/
END-of-p5-Devel-LexAlias/pkg-descr
echo x - p5-Devel-LexAlias/pkg-plist
sed 's/^X//' >p5-Devel-LexAlias/pkg-plist << 'END-of-p5-Devel-LexAlias/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/Devel/LexAlias.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/LexAlias/LexAlias.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/LexAlias/LexAlias.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/LexAlias/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/LexAlias
END-of-p5-Devel-LexAlias/pkg-plist
exit
--- p5-Devel-LexAlias.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list