diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-03-23 14:48:00 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-03-23 14:48:00 +0000 |
commit | f439e6d08f24534472bf637532d3fb48cf95c066 (patch) | |
tree | f4a4dad5d29defcdc0d9098adf43c6fd9462142c /devel/p5-Data-Dumper | |
parent | 2fc319beb5bb3862a1cd838aac0a2ec6ac6456a3 (diff) | |
download | ports-f439e6d08f24534472bf637532d3fb48cf95c066.tar.gz ports-f439e6d08f24534472bf637532d3fb48cf95c066.zip |
Notes
Diffstat (limited to 'devel/p5-Data-Dumper')
-rw-r--r-- | devel/p5-Data-Dumper/Makefile | 29 | ||||
-rw-r--r-- | devel/p5-Data-Dumper/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Data-Dumper/pkg-descr | 12 | ||||
-rw-r--r-- | devel/p5-Data-Dumper/pkg-plist | 7 |
4 files changed, 50 insertions, 0 deletions
diff --git a/devel/p5-Data-Dumper/Makefile b/devel/p5-Data-Dumper/Makefile new file mode 100644 index 000000000000..82956a8b5198 --- /dev/null +++ b/devel/p5-Data-Dumper/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: p5-Data-Dumper +# Date created: 23 March 2003 +# Whom: mat +# +# $FreeBSD$ +# + +PORTNAME= Data-Dumper +PORTVERSION= 2.121 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Data +PKGNAMEPREFIX= p5- + +MAINTAINER= mat@FreeBSD.org +COMMENT= Stringified perl data structures, suitable for both printing and eval + +PERL_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} >= 500801 +IGNORE="Alread included in perl ${PERL_VER}" +.endif +.if ${PERL_LEVEL} < 500601 +IGNORE="Need at least perl 5.6.1 to build" +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Data-Dumper/distinfo b/devel/p5-Data-Dumper/distinfo new file mode 100644 index 000000000000..94b6c0d74fdc --- /dev/null +++ b/devel/p5-Data-Dumper/distinfo @@ -0,0 +1,2 @@ +MD5 (Data-Dumper-2.121.tar.gz) = 10d6ff7a85fa3e5f91fcb2e6593cfd1b +SIZE (Data-Dumper-2.121.tar.gz) = 31931 diff --git a/devel/p5-Data-Dumper/pkg-descr b/devel/p5-Data-Dumper/pkg-descr new file mode 100644 index 000000000000..515090969838 --- /dev/null +++ b/devel/p5-Data-Dumper/pkg-descr @@ -0,0 +1,12 @@ +Converts a data structure into a sequence of perl statements sufficient for +recreating the original via eval. This module is very similar in concept to +Data::Dumper and Data::Dump, with the major differences being that this module +is designed to output to a stream instead of constructing its output in memory, +and that the traversal over the data structure is effectively breadth first +versus the depth first traversal done by the others. + +In fact the data structure is scanned twice, first in breadth first mode to +perform structural analysis, and then in depth first mode to actually produce +the output, but obeying the depth relationships of the first pass. + +WWW: http://search.cpan.org/dist/Data-Dump-Streamer/ diff --git a/devel/p5-Data-Dumper/pkg-plist b/devel/p5-Data-Dumper/pkg-plist new file mode 100644 index 000000000000..686a0bbcacb5 --- /dev/null +++ b/devel/p5-Data-Dumper/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Data/Dumper.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Dumper.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Dumper.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Data 2>/dev/null || true |