freebsd-ports/devel/p5-Long-Jump/Makefile
Sunpoet Po-Chuan Hsieh cdc9c8711c Add p5-Long-Jump 0.000001
Long::Jump essentially provides a multi-level return. You can mark a spot with
setjump() and then unwind the stack back to that point from any nested stack
frame by name using longjump(). You can also provide a list of return values.

This is not quite a match for C's long jump, but it is "close enough". It is
safer than C's jump in that it only lets you escape frames by going up the
stack, you cannot jump in other ways.

WWW: https://metacpan.org/release/Long-Jump
2020-03-01 06:27:37 +00:00

25 lines
522 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Long-Jump
PORTVERSION= 0.000001
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:EXODIST
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Mechanism for returning to a specific point from a deeply nested stack
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= p5-Test2-Suite>=0.000126:devel/p5-Test2-Suite
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>