Adding port devel/p5-Code-Perl, Produce Perl code from a tree.

Approved by:	tobez (implicit)
This commit is contained in:
Aaron Dalton 2006-05-26 18:02:50 +00:00
parent ad1cf3804e
commit 62878e1473
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163514
5 changed files with 73 additions and 0 deletions

View File

@ -815,6 +815,7 @@
SUBDIR += p5-Class-WhiteHole
SUBDIR += p5-Class-XPath
SUBDIR += p5-Clone
SUBDIR += p5-Code-Perl
SUBDIR += p5-Commands-Guarded
SUBDIR += p5-Config-Auto
SUBDIR += p5-Config-Fast

View File

@ -0,0 +1,32 @@
# New ports collection makefile for: p5-Code-Perl
# Date created: 26 May 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Code-Perl
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/F/FD/FDALY
PKGNAMEPREFIX= p5-
MAINTAINER= aaron@FreeBSD.org
COMMENT= Produce Perl code from a tree
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \
${SITE_PERL}/Test/Deep.pm:${PORTSDIR}/devel/p5-Test-Deep
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN3= Code::Perl.3 Code::Perl::Expr.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Code-Perl-0.03.tar.gz) = 58a87e4703c0420f302a6a44312121ff
SHA256 (Code-Perl-0.03.tar.gz) = d95957e2f3f46edd90d621ea8e4b76764d35ac64283ca0e0a0b951a24900a935
SIZE (Code-Perl-0.03.tar.gz) = 17580

View File

@ -0,0 +1,9 @@
Code::Perl allows you to build chunks of Perl code as a tree and then when
you're finished building, the tree can output the Perl code. This is
useful if you have built your own mini-language and you want to generate
Perl from it. Rather than generating the Perl at parse time and having to
worry about quoting, escaping, parenthese etc, you can just build a tree
using Code::Perl and then dump out the correct Perl at the end.
WWW: http://search.cpan.org/dist/Code-Perl
Author: Fergal Daly <fergal@esatclear.ie>

View File

@ -0,0 +1,28 @@
%%SITE_PERL%%/Code/Perl.pm
%%SITE_PERL%%/Code/Perl.pod
%%SITE_PERL%%/Code/Perl/Base.pm
%%SITE_PERL%%/Code/Perl/Expr.pm
%%SITE_PERL%%/Code/Perl/Expr/Append.pm
%%SITE_PERL%%/Code/Perl/Expr/Base.pm
%%SITE_PERL%%/Code/Perl/Expr/CallMethod.pm
%%SITE_PERL%%/Code/Perl/Expr/CallSub.pm
%%SITE_PERL%%/Code/Perl/Expr/Constant.pm
%%SITE_PERL%%/Code/Perl/Expr/DerefArray.pm
%%SITE_PERL%%/Code/Perl/Expr/DerefHash.pm
%%SITE_PERL%%/Code/Perl/Expr/Holder.pm
%%SITE_PERL%%/Code/Perl/Expr/Infix.pm
%%SITE_PERL%%/Code/Perl/Expr/List.pm
%%SITE_PERL%%/Code/Perl/Expr/Not.pm
%%SITE_PERL%%/Code/Perl/Expr/Number.pm
%%SITE_PERL%%/Code/Perl/Expr/Perl.pm
%%SITE_PERL%%/Code/Perl/Expr/Scalar.pm
%%SITE_PERL%%/Code/Perl/Expr/String.pm
%%SITE_PERL%%/Code/Perl/Expr/SubName.pm
%%SITE_PERL%%/Code/Perl/Test/Expr.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Code/Perl/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Code/Perl
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Code
@dirrm %%SITE_PERL%%/Code/Perl/Test
@dirrm %%SITE_PERL%%/Code/Perl/Expr
@dirrm %%SITE_PERL%%/Code/Perl
@dirrmtry %%SITE_PERL%%/Code