diff options
author | mat <mat@FreeBSD.org> | 2004-08-02 22:32:40 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-08-02 22:32:40 +0800 |
commit | a6c9a3a1f741b595a3ec12c3ae13c116c4708a20 (patch) | |
tree | abb8e3d02d4dd738bf91f157046138abc8ea9574 | |
parent | d52981f6abde535486222fae7299735298f499ee (diff) | |
download | freebsd-ports-gnome-a6c9a3a1f741b595a3ec12c3ae13c116c4708a20.tar.gz freebsd-ports-gnome-a6c9a3a1f741b595a3ec12c3ae13c116c4708a20.tar.zst freebsd-ports-gnome-a6c9a3a1f741b595a3ec12c3ae13c116c4708a20.zip |
Add p5-Data-TreeDumper 0.15, dumps a data structure in a tree fashion.
PR: ports/69883
Submitted by: Aaron Dalton <aaron@daltons.ca>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Data-TreeDumper/Makefile | 38 | ||||
-rw-r--r-- | devel/p5-Data-TreeDumper/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Data-TreeDumper/pkg-descr | 12 | ||||
-rw-r--r-- | devel/p5-Data-TreeDumper/pkg-plist | 12 |
5 files changed, 65 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 307a1e86d859..5930a119551f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -676,6 +676,7 @@ SUBDIR += p5-Data-Serializer SUBDIR += p5-Data-ShowTable SUBDIR += p5-Data-TemporaryBag + SUBDIR += p5-Data-TreeDumper SUBDIR += p5-Data-UUID SUBDIR += p5-Date-Calc SUBDIR += p5-Date-DayOfWeek diff --git a/devel/p5-Data-TreeDumper/Makefile b/devel/p5-Data-TreeDumper/Makefile new file mode 100644 index 000000000000..27145fd9aeba --- /dev/null +++ b/devel/p5-Data-TreeDumper/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: Data::TreeDumper +# Date created: 1 August 2004 +# Whom: Aaron Dalton <aaron@daltons.ca> +# +# $FreeBSD$ +# + +PORTNAME= Data-TreeDumper +PORTVERSION= 0.15 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Data +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@daltons.ca +COMMENT= Dumps a data structure in a tree fashion + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/Size.pm:${PORTSDIR}/devel/p5-Term-Size \ + ${SITE_PERL}/Text/Wrap.pm:${PORTSDIR}/textproc/p5-Text-Tabs+Wrap \ + ${SITE_PERL}/${PERL_ARCH}/Devel/Size.pm:${PORTSDIR}/devel/p5-Devel-Size +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN3= Data::TreeDumper.3 + +PERL_CONFIGURE= yes + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e 's/^our (\S+)/use vars q{$$1};$$1/g;' \ + -e '$$_ = "" if /warnings|5.006/;' \ + -e 's/}\(/}->(/g;' \ + -e '$$_ .= "->" if $$. == 428;' \ + ${WRKSRC}/TreeDumper.pm +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Data-TreeDumper/distinfo b/devel/p5-Data-TreeDumper/distinfo new file mode 100644 index 000000000000..2145a3bbd002 --- /dev/null +++ b/devel/p5-Data-TreeDumper/distinfo @@ -0,0 +1,2 @@ +MD5 (Data-TreeDumper-0.15.tar.gz) = 0b3c3db0806cc2a648364da79425fabf +SIZE (Data-TreeDumper-0.15.tar.gz) = 17621 diff --git a/devel/p5-Data-TreeDumper/pkg-descr b/devel/p5-Data-TreeDumper/pkg-descr new file mode 100644 index 000000000000..fadcbe8d6d26 --- /dev/null +++ b/devel/p5-Data-TreeDumper/pkg-descr @@ -0,0 +1,12 @@ +Data::Dumper and other modules do a great job at dumping data structures. +Their output, however, often takes more brain power to understand than the +data itself. When dumping big amounts of data, the output can be overwhelming +and it's difficult to see the relationship between each piece of the dumped +data. Data::TreeDumper also dumps data in a tree-like fashion but hopefully +in a format more easily understood. + +WWW: http://search.cpan.org/dist/Data-TreeDumper/ +Author: Khemir Nadim ibn Hamouda <nadim@khemir.net> + +- Aaron Dalton +aaron@daltons.ca diff --git a/devel/p5-Data-TreeDumper/pkg-plist b/devel/p5-Data-TreeDumper/pkg-plist new file mode 100644 index 000000000000..b8229063f6f6 --- /dev/null +++ b/devel/p5-Data-TreeDumper/pkg-plist @@ -0,0 +1,12 @@ +%%SITE_PERL%%/Data/TreeDumper.pm +%%SITE_PERL%%/Data/colors.pl +%%SITE_PERL%%/Data/filters.pl +%%SITE_PERL%%/Data/try_it.pl +%%SITE_PERL%%/Data/usage.pl +%%SITE_PERL%%/auto/Data/TreeDumper/autosplit.ix +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/TreeDumper/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/TreeDumper +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true +@dirrm %%SITE_PERL%%/auto/Data/TreeDumper +@unexec rmdir %D/%%SITE_PERL%%/auto/Data 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true |