diff --git a/devel/Makefile b/devel/Makefile index f8aa28ba7eca..08da41b39920 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1223,6 +1223,7 @@ SUBDIR += p5-CPAN-YACSmoke SUBDIR += p5-CPANPLUS SUBDIR += p5-CPANPLUS-Dist-Build + SUBDIR += p5-CPS SUBDIR += p5-Cache SUBDIR += p5-Cache-AgainstFile SUBDIR += p5-Cache-Cache diff --git a/devel/p5-CPS/Makefile b/devel/p5-CPS/Makefile new file mode 100644 index 000000000000..f32e08dac5a9 --- /dev/null +++ b/devel/p5-CPS/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: devel/p5-CPS +# Date created: 2011-02-05 +# Whom: Frederic Culot +# +# $FreeBSD$ +# + +PORTNAME= CPS +PORTVERSION= 0.11 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/P/PE/PEVANS/ +PKGNAMEPREFIX= p5- + +MAINTAINER= culot@FreeBSD.org +COMMENT= Manage flow of control in Continuation-Passing Style + +PERL_MODBUILD= yes + +MAN3= CPS.3 \ + CPS::Functional.3 \ + CPS::Governor.3 \ + CPS::Governor::Deferred.3 \ + CPS::Governor::Simple.3 + +.include diff --git a/devel/p5-CPS/distinfo b/devel/p5-CPS/distinfo new file mode 100644 index 000000000000..adfb472cbede --- /dev/null +++ b/devel/p5-CPS/distinfo @@ -0,0 +1,2 @@ +SHA256 (CPS-0.11.tar.gz) = 12459241cb5b9c96175e7919d83bd4bf0c0f0f3454f0d7fe71f5e16cd690c644 +SIZE (CPS-0.11.tar.gz) = 33400 diff --git a/devel/p5-CPS/pkg-descr b/devel/p5-CPS/pkg-descr new file mode 100644 index 000000000000..5d908dabe1fb --- /dev/null +++ b/devel/p5-CPS/pkg-descr @@ -0,0 +1,7 @@ +The functions in this module implement or assist the writing of +programs, or parts of them, in Continuation Passing Style (CPS). +Briefly, CPS is a style of writing code where the normal call/return +mechanism is replaced by explicit "continuations", values passed in +to functions which they should invoke, to implement return behaviour. + +WWW: http://search.cpan.org/dist/CPS/ diff --git a/devel/p5-CPS/pkg-plist b/devel/p5-CPS/pkg-plist new file mode 100644 index 000000000000..871b51f6b0f2 --- /dev/null +++ b/devel/p5-CPS/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/CPS.pm +%%SITE_PERL%%/CPS/Functional.pm +%%SITE_PERL%%/CPS/Governor.pm +%%SITE_PERL%%/CPS/Governor/Deferred.pm +%%SITE_PERL%%/CPS/Governor/Simple.pm +@dirrm %%SITE_PERL%%/CPS/Governor +@dirrm %%SITE_PERL%%/CPS