diff --git a/textproc/Makefile b/textproc/Makefile index 45303b09c169..3d2343125091 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -72,6 +72,7 @@ SUBDIR += p5-DelimMatch SUBDIR += p5-Spreadsheet-ParseExcel SUBDIR += p5-Spreadsheet-WriteExcel + SUBDIR += p5-Text-Autoformat SUBDIR += p5-Text-CSV_XS SUBDIR += p5-Text-Template SUBDIR += p5-XML-DOM diff --git a/textproc/p5-Text-Autoformat/Makefile b/textproc/p5-Text-Autoformat/Makefile new file mode 100644 index 000000000000..f2b257f1efed --- /dev/null +++ b/textproc/p5-Text-Autoformat/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: textproc/p5-Text-Autoformat +# Date created: 28 December 2000 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= Text-Autoformat +PORTVERSION= 1.04 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Text +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@tobez.org + +USE_PERL5= yes +PERL_CONFIGURE= yes + +MAN3= Text::Autoformat.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +.include diff --git a/textproc/p5-Text-Autoformat/distinfo b/textproc/p5-Text-Autoformat/distinfo new file mode 100644 index 000000000000..0e5f0069fdd5 --- /dev/null +++ b/textproc/p5-Text-Autoformat/distinfo @@ -0,0 +1 @@ +MD5 (Text-Autoformat-1.04.tar.gz) = acb89d29e0508d14cd3310f3df13b799 diff --git a/textproc/p5-Text-Autoformat/pkg-comment b/textproc/p5-Text-Autoformat/pkg-comment new file mode 100644 index 000000000000..2b9a2e560289 --- /dev/null +++ b/textproc/p5-Text-Autoformat/pkg-comment @@ -0,0 +1 @@ +Automatic and manual text wrapping and reformating formatting diff --git a/textproc/p5-Text-Autoformat/pkg-descr b/textproc/p5-Text-Autoformat/pkg-descr new file mode 100644 index 000000000000..1172cb334728 --- /dev/null +++ b/textproc/p5-Text-Autoformat/pkg-descr @@ -0,0 +1,13 @@ +Text::Autoformat provides intelligent formatting of plaintext without +the need for any kind of embedded mark-up. The module recognizes +Internet quoting conventions, a wide range of bulleting and number +schemes, centred text, and block quotations, and reformats each +appropriately. Other options allow the user to adjust inter-word and +inter-paragraph spacing, justify text, and impose various capitalization +schemes. + +The module also supplies a re-entrant, highly configurable replacement +for the built-in Perl format() mechanism. + +-Anton + diff --git a/textproc/p5-Text-Autoformat/pkg-plist b/textproc/p5-Text-Autoformat/pkg-plist new file mode 100644 index 000000000000..7575b8b42f10 --- /dev/null +++ b/textproc/p5-Text-Autoformat/pkg-plist @@ -0,0 +1,6 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Autoformat/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Text/Autoformat.pm +lib/perl5/site_perl/%%PERL_VER%%/Text/demo.pl +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Autoformat +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true