Data::Printer is meant to do one thing and one thing only: display Perl variables and objects on screen, properly formatted (to be inspected by a human). Here's what Data::Printer has to offer to Perl developers, out of the box: - Very sane defaults (I hope!) - Highly customizable (in case you disagree with me :) - Colored output by default - Human-friendly output, with array index and custom separators - Full object dumps including methods, inheritance and internals - Exposes extra information such as tainted data and weak references - Ability to easily create filters for objects and regular structures - Ability to load settings from a .dataprinter file so you don't have to write anything other than "use DDP;" in your code! WWW: http://search.cpan.org/dist/Data-Printer/
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# New ports collection makefile for: p5-Data-Printer
|
|
# Date created: 2011-10-24
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Data-Printer
|
|
PORTVERSION= 0.24
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Colored pretty-print of Perl data structures and objects
|
|
|
|
BUILD_DEPENDS= p5-Clone>=0:${PORTSDIR}/devel/p5-Clone \
|
|
p5-File-HomeDir>=0.91:${PORTSDIR}/devel/p5-File-HomeDir \
|
|
p5-Hash-FieldHash>=0:${PORTSDIR}/devel/p5-Hash-FieldHash \
|
|
p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
|
|
p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
|
|
RUN_DEPENDS= p5-Clone>=0:${PORTSDIR}/devel/p5-Clone \
|
|
p5-File-HomeDir>=0.91:${PORTSDIR}/devel/p5-File-HomeDir \
|
|
p5-Hash-FieldHash>=0:${PORTSDIR}/devel/p5-Hash-FieldHash \
|
|
p5-Moose>=2:${PORTSDIR}/devel/p5-Moose \
|
|
p5-Sort-Naturally>=0:${PORTSDIR}/textproc/p5-Sort-Naturally
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Data::Printer.3 \
|
|
Data::Printer::Filter.3 \
|
|
Data::Printer::Filter::DB.3 \
|
|
Data::Printer::Filter::DateTime.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501001
|
|
TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
BUILD_DEPENDS+= p5-Term-ANSIColor>=3:${PORTSDIR}/devel/p5-Term-ANSIColor
|
|
RUN_DEPENDS+= p5-Term-ANSIColor>=3:${PORTSDIR}/devel/p5-Term-ANSIColor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|