aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Data-Dump
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-03-23 14:08:07 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-03-23 14:08:07 +0000
commit45e54c4b2afe5c4bfce63ad5a884261758f13503 (patch)
treeca9c82f342397e816ade3825940868256a162436 /devel/p5-Data-Dump
parentdd697f774f4b3c1d563de467c2143832274925a3 (diff)
downloadports-45e54c4b2afe5c4bfce63ad5a884261758f13503.tar.gz
ports-45e54c4b2afe5c4bfce63ad5a884261758f13503.zip
Notes
Diffstat (limited to 'devel/p5-Data-Dump')
-rw-r--r--devel/p5-Data-Dump/Makefile28
-rw-r--r--devel/p5-Data-Dump/distinfo2
-rw-r--r--devel/p5-Data-Dump/pkg-descr13
-rw-r--r--devel/p5-Data-Dump/pkg-plist5
4 files changed, 48 insertions, 0 deletions
diff --git a/devel/p5-Data-Dump/Makefile b/devel/p5-Data-Dump/Makefile
new file mode 100644
index 000000000000..25769ee28b11
--- /dev/null
+++ b/devel/p5-Data-Dump/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Data-Dump
+# Date created: 23 March 2003
+# Whom: mat
+#
+# $FreeBSD$
+#
+
+PORTNAME= Data-Dump
+PORTVERSION= 1.02
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Data
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Pretty printing of data structures
+
+PERL_CONFIGURE= yes
+
+MAN3= Data::Dump.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE="Need at least perl 5.6 to build"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Data-Dump/distinfo b/devel/p5-Data-Dump/distinfo
new file mode 100644
index 000000000000..43b57f0ce645
--- /dev/null
+++ b/devel/p5-Data-Dump/distinfo
@@ -0,0 +1,2 @@
+MD5 (Data-Dump-1.02.tar.gz) = 122a87c7fabc4070f9309445a53dff2d
+SIZE (Data-Dump-1.02.tar.gz) = 7660
diff --git a/devel/p5-Data-Dump/pkg-descr b/devel/p5-Data-Dump/pkg-descr
new file mode 100644
index 000000000000..a2d174675bf6
--- /dev/null
+++ b/devel/p5-Data-Dump/pkg-descr
@@ -0,0 +1,13 @@
+This module provides a single function called dump() that takes a list of
+values as its argument and produces a string as its result. The string contains
+Perl code that, when evaled, produces a deep copy of the original arguments.
+The string is formatted for easy reading.
+
+If dump() is called in a void context, then the dump is printed on STDERR
+instead of being returned.
+
+If you don't like importing a function that overrides Perl's not-so-useful
+builtin, then you can also import the same function as pp(), mnemonic for
+"pretty-print".
+
+WWW: http://search.cpan.org/dist/Data-Dump/
diff --git a/devel/p5-Data-Dump/pkg-plist b/devel/p5-Data-Dump/pkg-plist
new file mode 100644
index 000000000000..bb4928737da8
--- /dev/null
+++ b/devel/p5-Data-Dump/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Data/Dump.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Dump
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
+@dirrm %%SITE_PERL%%/Data