aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-PPI
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-04-03 12:59:31 +0000
committerLars Thegler <lth@FreeBSD.org>2005-04-03 12:59:31 +0000
commit2e150a3e5987ec9273dbc53447ddbbe6cfe34d89 (patch)
tree62757c9aef916578d5de25ad1f00dbe378023567 /textproc/p5-PPI
parent8358e9b14d251701e202c4cc84989adf7b1b789f (diff)
downloadports-2e150a3e5987ec9273dbc53447ddbbe6cfe34d89.tar.gz
ports-2e150a3e5987ec9273dbc53447ddbbe6cfe34d89.zip
Notes
Diffstat (limited to 'textproc/p5-PPI')
-rw-r--r--textproc/p5-PPI/Makefile59
-rw-r--r--textproc/p5-PPI/distinfo2
-rw-r--r--textproc/p5-PPI/pkg-descr4
-rw-r--r--textproc/p5-PPI/pkg-plist85
4 files changed, 150 insertions, 0 deletions
diff --git a/textproc/p5-PPI/Makefile b/textproc/p5-PPI/Makefile
new file mode 100644
index 000000000000..c3f6e8134348
--- /dev/null
+++ b/textproc/p5-PPI/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: textproc/p5-PPI
+# Date created: 24 March 2005
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PPI
+PORTVERSION= 0.903
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Analyze and manipulate Perl code without using perl itself
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/Autouse.pm:${PORTSDIR}/devel/p5-Class-Autouse \
+ ${SITE_PERL}/Test/ClassAPI.pm:${PORTSDIR}/devel/p5-Test-ClassAPI \
+ ${SITE_PERL}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector \
+ ${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils \
+ ${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= PPI.3 \
+ PPI::Document.3 \
+ PPI::Document::Fragment.3 \
+ PPI::Document::Normalized.3 \
+ PPI::Dumper.3 \
+ PPI::Element.3 \
+ PPI::Find.3 \
+ PPI::Lexer.3 \
+ PPI::Node.3 \
+ PPI::Normal.3 \
+ PPI::Normal::Standard.3 \
+ PPI::Statement.3 \
+ PPI::Statement::Compound.3 \
+ PPI::Statement::Package.3 \
+ PPI::Statement::Scheduled.3 \
+ PPI::Statement::Sub.3 \
+ PPI::Statement::Variable.3 \
+ PPI::Token::HereDoc.3 \
+ PPI::Tokenizer.3
+
+post-patch:
+ @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
+ @${PERL} -pi -e '$$_="" if m/AutoInstall/' ${WRKSRC}/MANIFEST
+ @${PERL} -pi -e '$$_="" if m/Test::More|auto_install/' ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "requires Perl 5.6 or newer. Install lang/perl5 or lang/perl5.8 and try again."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-PPI/distinfo b/textproc/p5-PPI/distinfo
new file mode 100644
index 000000000000..e866bfde7752
--- /dev/null
+++ b/textproc/p5-PPI/distinfo
@@ -0,0 +1,2 @@
+MD5 (PPI-0.903.tar.gz) = 8da911363371f911225d8d0920366139
+SIZE (PPI-0.903.tar.gz) = 117255
diff --git a/textproc/p5-PPI/pkg-descr b/textproc/p5-PPI/pkg-descr
new file mode 100644
index 000000000000..2943b6e2e189
--- /dev/null
+++ b/textproc/p5-PPI/pkg-descr
@@ -0,0 +1,4 @@
+This is PPI, originally short for Parse::Perl::Isolated, a package
+for parsing and manipulating Perl documents.
+
+WWW: http://search.cpan.org/dist/PPI
diff --git a/textproc/p5-PPI/pkg-plist b/textproc/p5-PPI/pkg-plist
new file mode 100644
index 000000000000..f36ca68b0d99
--- /dev/null
+++ b/textproc/p5-PPI/pkg-plist
@@ -0,0 +1,85 @@
+%%SITE_PERL%%/PPI.pm
+%%SITE_PERL%%/PPI/Document.pm
+%%SITE_PERL%%/PPI/Document/Fragment.pm
+%%SITE_PERL%%/PPI/Document/Normalized.pm
+%%SITE_PERL%%/PPI/Dumper.pm
+%%SITE_PERL%%/PPI/Element.pm
+%%SITE_PERL%%/PPI/Find.pm
+%%SITE_PERL%%/PPI/Lexer.pm
+%%SITE_PERL%%/PPI/Node.pm
+%%SITE_PERL%%/PPI/Normal.pm
+%%SITE_PERL%%/PPI/Normal/Standard.pm
+%%SITE_PERL%%/PPI/Statement.pm
+%%SITE_PERL%%/PPI/Statement/Break.pm
+%%SITE_PERL%%/PPI/Statement/Compound.pm
+%%SITE_PERL%%/PPI/Statement/Data.pm
+%%SITE_PERL%%/PPI/Statement/End.pm
+%%SITE_PERL%%/PPI/Statement/Expression.pm
+%%SITE_PERL%%/PPI/Statement/Include.pm
+%%SITE_PERL%%/PPI/Statement/Null.pm
+%%SITE_PERL%%/PPI/Statement/Package.pm
+%%SITE_PERL%%/PPI/Statement/Scheduled.pm
+%%SITE_PERL%%/PPI/Statement/Sub.pm
+%%SITE_PERL%%/PPI/Statement/Unknown.pm
+%%SITE_PERL%%/PPI/Statement/UnmatchedBrace.pm
+%%SITE_PERL%%/PPI/Statement/Variable.pm
+%%SITE_PERL%%/PPI/Structure.pm
+%%SITE_PERL%%/PPI/Structure/Block.pm
+%%SITE_PERL%%/PPI/Structure/Condition.pm
+%%SITE_PERL%%/PPI/Structure/Constructor.pm
+%%SITE_PERL%%/PPI/Structure/ForLoop.pm
+%%SITE_PERL%%/PPI/Structure/List.pm
+%%SITE_PERL%%/PPI/Structure/Subscript.pm
+%%SITE_PERL%%/PPI/Structure/Unknown.pm
+%%SITE_PERL%%/PPI/Token.pm
+%%SITE_PERL%%/PPI/Token/ArrayIndex.pm
+%%SITE_PERL%%/PPI/Token/Attribute.pm
+%%SITE_PERL%%/PPI/Token/Cast.pm
+%%SITE_PERL%%/PPI/Token/Comment.pm
+%%SITE_PERL%%/PPI/Token/DashedWord.pm
+%%SITE_PERL%%/PPI/Token/Data.pm
+%%SITE_PERL%%/PPI/Token/End.pm
+%%SITE_PERL%%/PPI/Token/HereDoc.pm
+%%SITE_PERL%%/PPI/Token/Label.pm
+%%SITE_PERL%%/PPI/Token/Magic.pm
+%%SITE_PERL%%/PPI/Token/Number.pm
+%%SITE_PERL%%/PPI/Token/Operator.pm
+%%SITE_PERL%%/PPI/Token/Pod.pm
+%%SITE_PERL%%/PPI/Token/Prototype.pm
+%%SITE_PERL%%/PPI/Token/Quote.pm
+%%SITE_PERL%%/PPI/Token/Quote/Double.pm
+%%SITE_PERL%%/PPI/Token/Quote/Interpolate.pm
+%%SITE_PERL%%/PPI/Token/Quote/Literal.pm
+%%SITE_PERL%%/PPI/Token/Quote/Single.pm
+%%SITE_PERL%%/PPI/Token/QuoteLike.pm
+%%SITE_PERL%%/PPI/Token/QuoteLike/Backtick.pm
+%%SITE_PERL%%/PPI/Token/QuoteLike/Command.pm
+%%SITE_PERL%%/PPI/Token/QuoteLike/Readline.pm
+%%SITE_PERL%%/PPI/Token/QuoteLike/Regexp.pm
+%%SITE_PERL%%/PPI/Token/QuoteLike/Words.pm
+%%SITE_PERL%%/PPI/Token/Regexp.pm
+%%SITE_PERL%%/PPI/Token/Regexp/Match.pm
+%%SITE_PERL%%/PPI/Token/Regexp/Substitute.pm
+%%SITE_PERL%%/PPI/Token/Regexp/Transliterate.pm
+%%SITE_PERL%%/PPI/Token/Separator.pm
+%%SITE_PERL%%/PPI/Token/Structure.pm
+%%SITE_PERL%%/PPI/Token/Symbol.pm
+%%SITE_PERL%%/PPI/Token/Unknown.pm
+%%SITE_PERL%%/PPI/Token/Whitespace.pm
+%%SITE_PERL%%/PPI/Token/Word.pm
+%%SITE_PERL%%/PPI/Token/_QuoteEngine.pm
+%%SITE_PERL%%/PPI/Token/_QuoteEngine/Full.pm
+%%SITE_PERL%%/PPI/Token/_QuoteEngine/Simple.pm
+%%SITE_PERL%%/PPI/Tokenizer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/PPI/.packlist
+@dirrm %%SITE_PERL%%/PPI/Token/_QuoteEngine
+@dirrm %%SITE_PERL%%/PPI/Token/QuoteLike
+@dirrm %%SITE_PERL%%/PPI/Token/Regexp
+@dirrm %%SITE_PERL%%/PPI/Token/Quote
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/PPI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PPI/Statement 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PPI/Structure 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PPI/Document 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PPI/Normal 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PPI/Token 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/PPI 2>/dev/null || true