1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add p5-Devel-Caller 0.11, a perl module which is meatier versions of

caller.

PR:		ports/100093
Submitted by:	Ying-Chieh Chen
This commit is contained in:
Cheng-Lung Sung 2006-07-13 01:01:55 +00:00
parent 173a194a5b
commit 02f04e930f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167649
5 changed files with 55 additions and 0 deletions

View File

@ -949,6 +949,7 @@
SUBDIR += p5-DateTime-TimeZone-LMT
SUBDIR += p5-Decision-ACL
SUBDIR += p5-Devel-Arena
SUBDIR += p5-Devel-Caller
SUBDIR += p5-Devel-Constants
SUBDIR += p5-Devel-CoreStack
SUBDIR += p5-Devel-Cover

View File

@ -0,0 +1,32 @@
# ex:ts=8
# Ports collection makefile for: Devel-Caller
# Date created: Jul. 11, 2006
# Whom: Ying-Chieh Chen
#
# $FreeBSD$
#
PORTNAME= Devel-Caller
PORTVERSION= 0.11
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Devel
PKGNAMEPREFIX= p5-
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A perl module which is meatier versions of caller
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/PadWalker.pm:${PORTSDIR}/devel/p5-PadWalker
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Devel::Caller.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Devel-Caller-0.11.tar.gz) = 56c7ed8204be4e7c63d524d21fa56050
SHA256 (Devel-Caller-0.11.tar.gz) = 575e5e4162516bb0c9b06a9c63134f801ba9444c080e156681d297ebb8bde31a
SIZE (Devel-Caller-0.11.tar.gz) = 7247

View File

@ -0,0 +1,13 @@
Devel::Caller - meatier versions of caller
SYNOPSIS
use Devel::Caller qw(caller_cv);
$foo = sub { print "huzzah\n" if $foo == caller_cv(0) };
$foo->(); # prints huzzah
use Devel::Caller qw(called_with);
sub foo { print called_with(0,1); }
foo( my @foo ); # should print '@foo'
WWW: http://search.cpan.org/dist/Devel-Caller/

View File

@ -0,0 +1,6 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Caller/Caller.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Caller/Caller.so
%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Caller.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Caller
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel