1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Add devel/p5-Devel-Callsite, a Perl module to get current callsite and

interpreter context.
This commit is contained in:
Anton Berezin 2008-09-05 09:15:19 +00:00
parent e331440c65
commit 72568fd500
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219888
5 changed files with 39 additions and 0 deletions

View File

@ -1198,6 +1198,7 @@
SUBDIR += p5-Decision-ACL
SUBDIR += p5-Devel-Arena
SUBDIR += p5-Devel-Caller
SUBDIR += p5-Devel-Callsite
SUBDIR += p5-Devel-Constants
SUBDIR += p5-Devel-CoreStack
SUBDIR += p5-Devel-Cover

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: devel/p5-Devel-Callsite
# Date created: 05 September 2008
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Devel-Callsite
PORTVERSION= 0.04
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Devel
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Gets current callsite and interpreter context
PERL_CONFIGURE= yes
MAN3= Devel::Callsite.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Devel-Callsite-0.04.tar.gz) = 1d31ebc5a4f7b0abe4e3cb41b29a1dd3
SHA256 (Devel-Callsite-0.04.tar.gz) = 0016eed31b13d036b1d31a1fd170d234e97ab752a12de4c2a27ddc98066b6d73
SIZE (Devel-Callsite-0.04.tar.gz) = 1941

View File

@ -0,0 +1,6 @@
The callsite() function returns the callsite (a number) one level up
from where it was called. See the tests for an example. It's useful
for functions that need to uniquely know where they were called, such
as Every::every() (see devel/p5-Every).
WWW: http://search.cpan.org/dist/Devel-Callsite/

View File

@ -0,0 +1,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Devel/Callsite.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Callsite/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Callsite/Callsite.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Callsite/Callsite.so
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Callsite
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Devel