1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-Data-Dump-Streamer 1.06, stream a highly accurate breadth first

data dump in perl code form to a var or file.
This commit is contained in:
Mathieu Arnold 2004-03-23 15:06:01 +00:00
parent 9328b68b1d
commit f575c6f17a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105058
5 changed files with 62 additions and 0 deletions

View File

@ -623,6 +623,7 @@
SUBDIR += p5-DB_File-Lock
SUBDIR += p5-Data-Compare
SUBDIR += p5-Data-Dump
SUBDIR += p5-Data-Dump-Streamer
SUBDIR += p5-Data-DumpXML
SUBDIR += p5-Data-Dumper
SUBDIR += p5-Data-Flow

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: p5-Data-Dump-Streamer
# Date created: 23 March 2003
# Whom: mat
#
# $FreeBSD$
#
PORTNAME= Data-Dump-Streamer
PORTVERSION= 1.06
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Data
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Stream a highly accurate breadth first data dump in perl code form to a var or file
BUILD_DEPENDS= ${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \
${SITE_PERL}/Text/Balanced.pm:${PORTSDIR}/textproc/p5-Text-Balanced
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Data::Dump::Streamer.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500801
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
.endif
.if ${PERL_LEVEL} < 500600
IGNORE="Need at least perl 5.6 to build"
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Data-Dump-Streamer-1.06.tar.gz) = 8fa94ec33d99f798ccb3bf9875b1550c
SIZE (Data-Dump-Streamer-1.06.tar.gz) = 51507

View File

@ -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/

View File

@ -0,0 +1,12 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Data/Dump/Streamer.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Data/Dump/Streamer/_/Printers.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump/Streamer/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump/Streamer/Streamer.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump/Streamer/Streamer.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump/Streamer
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Data/Dump/Streamer/_
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Data/Dump/Streamer
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Data/Dump 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Data 2>/dev/null || true