View | Details | Raw Unified | Return to bug 258350
Collapse All | Expand All

(-)b/devel/p5-B-Debug/Makefile (+28 lines)
Added Link Here
1
# Created by: James E Keenan <jkeenan@cpan.org>
2
3
PORTNAME=	B-Debug
4
PORTVERSION=	1.26
5
CATEGORIES=	devel perl5
6
MASTER_SITES=	CPAN
7
MASTER_SITE_SUBDIR=	CPAN:RURBAN
8
PKGNAMEPREFIX=	p5-
9
10
MAINTAINER=	jkeenan@cpan.org
11
COMMENT=	Walk Perl syntax tree, printing debug info about ops
12
13
LICENSE=	ART10 GPLv1+
14
LICENSE_COMB=	dual
15
16
USES=		perl5
17
USE_PERL5=	configure
18
NO_ARCH=	yes
19
20
PORTDOCS=	Changes README
21
22
OPTIONS_DEFINE=	DOCS
23
24
post-install-DOCS-on:
25
	${MKDIR} ${STAGEDIR}${DOCSDIR}
26
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
27
28
.include <bsd.port.mk>
(-)b/devel/p5-B-Debug/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1631042869
2
SHA256 (B-Debug-1.26.tar.gz) = 8d6d3f5134f0ddd8dde68e6581f5b30b73b7db40fd28d076e4f6e5386f570d3a
3
SIZE (B-Debug-1.26.tar.gz) = 17725
(-)b/devel/p5-B-Debug/pkg-descr (+23 lines)
Added Link Here
1
Walk Perl syntax tree, printing debug info about ops
2
3
Without actually executing a Perl 5 program, you can walk its optree:
4
5
    $ cat hello.pl
6
    print "Hello world!\n";
7
8
    $ perl -MO=Debug hello.pl
9
    hello.pl syntax OK
10
    LISTOP (0x55d1520414f8)
11
    	op_ppaddr	0x55d1520414f8 LISTOP [OP_LEAVE]
12
    	op_next		0x0
13
    	op_sibling	0x0
14
    	op_targ		1
15
    	...
16
    OP (0x55d1520414c8)
17
    	op_ppaddr	0x55d1520414c8     OP [OP_ENTER]
18
    	op_next		0x55d152041538    COP [OP_NEXTSTATE]
19
    	op_sibling	0x55d152041538    COP [OP_NEXTSTATE]
20
    	op_targ		0
21
    	...
22
23
WWW: https://metacpan.org/release/B-Debug
(-)b/devel/p5-B-Debug/pkg-plist (+2 lines)
Added Link Here
1
%%PERL5_MAN3%%/B::Debug.3.gz
2
%%SITE_PERL%%/B/Debug.pm

Return to bug 258350