diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-12 18:21:11 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-12 18:21:11 +0000 |
commit | 808887753d9d81c98c8ffe7b989a76eeb59bb59f (patch) | |
tree | 8a85bceccf45fa9f034049de345d81154c374cb2 /textproc/p5-Text-Padding | |
parent | 8124b0b96a7b3f419d9a2fcdb4f2663e499ba070 (diff) | |
download | ports-808887753d9d81c98c8ffe7b989a76eeb59bb59f.tar.gz ports-808887753d9d81c98c8ffe7b989a76eeb59bb59f.zip |
Notes
Diffstat (limited to 'textproc/p5-Text-Padding')
-rw-r--r-- | textproc/p5-Text-Padding/Makefile | 35 | ||||
-rw-r--r-- | textproc/p5-Text-Padding/distinfo | 2 | ||||
-rw-r--r-- | textproc/p5-Text-Padding/pkg-descr | 9 | ||||
-rw-r--r-- | textproc/p5-Text-Padding/pkg-plist | 2 |
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/p5-Text-Padding/Makefile b/textproc/p5-Text-Padding/Makefile new file mode 100644 index 000000000000..e0834309c086 --- /dev/null +++ b/textproc/p5-Text-Padding/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: p5-Text-Padding +# Date created: 2011-10-10 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Text-Padding +PORTVERSION= 1.110.170 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple way of formatting a text + +BUILD_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar \ + p5-Text-Truncate>=0:${PORTSDIR}/textproc/p5-Text-Truncate +RUN_DEPENDS= p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \ + p5-MooseX-Has-Sugar>=0:${PORTSDIR}/devel/p5-MooseX-Has-Sugar \ + p5-Text-Truncate>=0:${PORTSDIR}/textproc/p5-Text-Truncate + +PERL_MODBUILD= 5.12.0+ + +MAN3= Text::Padding.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/p5-Text-Padding/distinfo b/textproc/p5-Text-Padding/distinfo new file mode 100644 index 000000000000..3bf3548641cf --- /dev/null +++ b/textproc/p5-Text-Padding/distinfo @@ -0,0 +1,2 @@ +SHA256 (Text-Padding-1.110170.tar.gz) = 6339581dcb1103e35addb5609c0f13403f1cce39c1b4c496657260b393af8ca6 +SIZE (Text-Padding-1.110170.tar.gz) = 12969 diff --git a/textproc/p5-Text-Padding/pkg-descr b/textproc/p5-Text-Padding/pkg-descr new file mode 100644 index 000000000000..041936440eb3 --- /dev/null +++ b/textproc/p5-Text-Padding/pkg-descr @@ -0,0 +1,9 @@ +Text::Padding provides a simple way to align a text on the left, right or +center. If left & right are easy to achieve (see sprintf()), i found no cpan +module that achieved a simple text centering. Well, of course, Perl6::Form +provides it, but it's incredibly slow during startup / destroy time. And +Text::Reform was segfaulting during destroy time. + +Hence this module, which aims to provide only those 3 methods. + +WWW: http://search.cpan.org/dist/Text-Padding/ diff --git a/textproc/p5-Text-Padding/pkg-plist b/textproc/p5-Text-Padding/pkg-plist new file mode 100644 index 000000000000..ca44b4713676 --- /dev/null +++ b/textproc/p5-Text-Padding/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Text/Padding.pm +@dirrmtry %%SITE_PERL%%/Text |