Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2020 06:27:38 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527492 - in head/devel: . p5-Long-Jump
Message-ID:  <202003010627.0216RcUP075624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar  1 06:27:37 2020
New Revision: 527492
URL: https://svnweb.freebsd.org/changeset/ports/527492

Log:
  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

Added:
  head/devel/p5-Long-Jump/
  head/devel/p5-Long-Jump/Makefile   (contents, props changed)
  head/devel/p5-Long-Jump/distinfo   (contents, props changed)
  head/devel/p5-Long-Jump/pkg-descr   (contents, props changed)
  head/devel/p5-Long-Jump/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Mar  1 05:34:26 2020	(r527491)
+++ head/devel/Makefile	Sun Mar  1 06:27:37 2020	(r527492)
@@ -2658,6 +2658,7 @@
     SUBDIR += p5-Log-TraceMessages
     SUBDIR += p5-Log-ger
     SUBDIR += p5-Logfile-Rotate
+    SUBDIR += p5-Long-Jump
     SUBDIR += p5-Luka
     SUBDIR += p5-Lvalue
     SUBDIR += p5-MCE

Added: head/devel/p5-Long-Jump/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Long-Jump/Makefile	Sun Mar  1 06:27:37 2020	(r527492)
@@ -0,0 +1,25 @@
+# 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>

Added: head/devel/p5-Long-Jump/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Long-Jump/distinfo	Sun Mar  1 06:27:37 2020	(r527492)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1582975657
+SHA256 (Long-Jump-0.000001.tar.gz) = d5d6456d86992b559d8f66fc90960f919292cd3803c13403faac575762c77af4
+SIZE (Long-Jump-0.000001.tar.gz) = 12123

Added: head/devel/p5-Long-Jump/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Long-Jump/pkg-descr	Sun Mar  1 06:27:37 2020	(r527492)
@@ -0,0 +1,9 @@
+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

Added: head/devel/p5-Long-Jump/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Long-Jump/pkg-plist	Sun Mar  1 06:27:37 2020	(r527492)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Long/Jump.pm
+%%PERL5_MAN3%%/Long::Jump.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003010627.0216RcUP075624>