diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Tree-Parser/Makefile | 32 | ||||
-rw-r--r-- | devel/p5-Tree-Parser/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Tree-Parser/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Tree-Parser/pkg-plist | 5 |
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 8e826fb2eb14..0127e7409713 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -990,6 +990,7 @@ SUBDIR += p5-TimeDate SUBDIR += p5-TraceFuncs SUBDIR += p5-Tree-DAG_Node + SUBDIR += p5-Tree-Parser SUBDIR += p5-Tree-Simple SUBDIR += p5-Tree-Simple-View SUBDIR += p5-UNIVERSAL-exports diff --git a/devel/p5-Tree-Parser/Makefile b/devel/p5-Tree-Parser/Makefile new file mode 100644 index 000000000000..43665d03080f --- /dev/null +++ b/devel/p5-Tree-Parser/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: Tree::Parser +# Date created: 1 August 2004 +# Whom: Aaron Dalton <aaron@daltons.ca> +# +# $FreeBSD$ +# + +PORTNAME= Tree-Parser +PORTVERSION= 0.06 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Tree +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@daltons.ca +COMMENT= Module to parse formatted files into tree structures + +BUILD_DEPENDS= ${SITE_PERL}/Array/Iterator.pm:${PORTSDIR}/devel/p5-Array-Iterator \ + ${SITE_PERL}/Tree/Simple.pm:${PORTSDIR}/devel/p5-Tree-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN3= Tree::Parser.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Tree-Parser/distinfo b/devel/p5-Tree-Parser/distinfo new file mode 100644 index 000000000000..65575b4133e5 --- /dev/null +++ b/devel/p5-Tree-Parser/distinfo @@ -0,0 +1,2 @@ +MD5 (Tree-Parser-0.06.tar.gz) = b491836357fd16058958f20bfcf17bc5 +SIZE (Tree-Parser-0.06.tar.gz) = 9793 diff --git a/devel/p5-Tree-Parser/pkg-descr b/devel/p5-Tree-Parser/pkg-descr new file mode 100644 index 000000000000..3b6d9c7dd526 --- /dev/null +++ b/devel/p5-Tree-Parser/pkg-descr @@ -0,0 +1,11 @@ +This module can parse various types of input (formatted and containing +hierarchal information) into a tree structures. It can also deparse the +same tree structures back into a string. It accepts various types of input, +such as; strings, filenames, array references. The tree structure is a +hierarchy of Tree::Simple objects. + +WWW: http://search.cpan.org/dist/Tree-Parser/ +Author: Stevan Little <stevan@iinteractive.com> + +- Aaron Dalton +aaron@daltons.ca diff --git a/devel/p5-Tree-Parser/pkg-plist b/devel/p5-Tree-Parser/pkg-plist new file mode 100644 index 000000000000..dc4e98385318 --- /dev/null +++ b/devel/p5-Tree-Parser/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Tree/Parser.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Parser/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree/Parser +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Tree 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Tree 2>/dev/null || true |