- Add new port devel/p5-Data-Dumper-Simple
- This module allow the user to dump variables in a Data::Dumper format. PR: ports/71508 Submitted by: clsung Approved by: co-mentor (vanilla)
This commit is contained in:
parent
3e9ac88a24
commit
75b09fa110
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119003
@ -678,6 +678,7 @@
|
||||
SUBDIR += p5-Data-Dump-Streamer
|
||||
SUBDIR += p5-Data-DumpXML
|
||||
SUBDIR += p5-Data-Dumper
|
||||
SUBDIR += p5-Data-Dumper-Simple
|
||||
SUBDIR += p5-Data-Flow
|
||||
SUBDIR += p5-Data-HexDump
|
||||
SUBDIR += p5-Data-Hexdumper
|
||||
|
32
devel/p5-Data-Dumper-Simple/Makefile
Normal file
32
devel/p5-Data-Dumper-Simple/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: p5-Data-Dumper-Simple
|
||||
# Date created: Sep 9 2004
|
||||
# Whom: clsung
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Data-Dumper-Simple
|
||||
PORTVERSION= 0.06
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Data
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= clsung@FreeBSD.org
|
||||
COMMENT= Easily dump variables with names
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Data::Dumper::Simple.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500805
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/Filter/Simple.pm:${PORTSDIR}/textproc/p5-Filter-Simple
|
||||
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
||||
.endif
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
IGNORE="Need at least perl 5.6.1 to build"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
2
devel/p5-Data-Dumper-Simple/distinfo
Normal file
2
devel/p5-Data-Dumper-Simple/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Data-Dumper-Simple-0.06.tar.gz) = cb2ab608bdbe289ad6db4baf4fa84ae7
|
||||
SIZE (Data-Dumper-Simple-0.06.tar.gz) = 6356
|
17
devel/p5-Data-Dumper-Simple/pkg-descr
Normal file
17
devel/p5-Data-Dumper-Simple/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
This module allow the user to dump variables in a Data::Dumper format.
|
||||
|
||||
Unlike the default behavior of Data::Dumper, the variables are named
|
||||
(instead of $VAR1, $VAR2, etc.) Data::Dumper provides an extended
|
||||
interface that allows the programmer to name the variables, but this
|
||||
interface requires a lot of typing and is prone to tyops (sic). This
|
||||
module fixes that.
|
||||
|
||||
Data::Dumper::Simple is actually a source filter that replaces all
|
||||
instances of Dumper($some, @args) in your code with a call to
|
||||
Data::Dumper->Dump(). You can use the one function provided to make
|
||||
dumping variables for debugging a trivial task.
|
||||
|
||||
Note that this is primarily a debugging tool. Data::Dumper offers a
|
||||
bit more than that, so don't expect this module to be more than it is.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Data-Dumper-Simple/
|
7
devel/p5-Data-Dumper-Simple/pkg-plist
Normal file
7
devel/p5-Data-Dumper-Simple/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
%%SITE_PERL%%/Data/Dumper/Simple.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Simple/.packlist
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper/Simple
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dumper 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Data/Dumper 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user