aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-31 13:17:09 +0800
committerwill <will@FreeBSD.org>2000-12-31 13:17:09 +0800
commite234a7666b3a97a77968085b3a752e5e58ebd384 (patch)
treeb4961cbf3e57c29585038f2c3616a5e90b530daf
parent217e29afa05b93b995d1bbae4c54521f3fde9111 (diff)
downloadfreebsd-ports-graphics-e234a7666b3a97a77968085b3a752e5e58ebd384.tar.gz
freebsd-ports-graphics-e234a7666b3a97a77968085b3a752e5e58ebd384.tar.zst
freebsd-ports-graphics-e234a7666b3a97a77968085b3a752e5e58ebd384.zip
Add p5-Text-Autoformat 1.04, a perl module for automatic and manual text
wrapping and reformating formatting. PR: 23918 Submitted by: Anton Berezin <tobez@tobez.org>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Autoformat/Makefile23
-rw-r--r--textproc/p5-Text-Autoformat/distinfo1
-rw-r--r--textproc/p5-Text-Autoformat/pkg-comment1
-rw-r--r--textproc/p5-Text-Autoformat/pkg-descr13
-rw-r--r--textproc/p5-Text-Autoformat/pkg-plist6
6 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 45303b09c16..3d234312509 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 00000000000..f2b257f1efe
--- /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 <tobez@tobez.org>
+#
+# $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 <bsd.port.mk>
diff --git a/textproc/p5-Text-Autoformat/distinfo b/textproc/p5-Text-Autoformat/distinfo
new file mode 100644
index 00000000000..0e5f0069fdd
--- /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 00000000000..2b9a2e56028
--- /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 00000000000..1172cb33472
--- /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
+<tobez@tobez.org>
diff --git a/textproc/p5-Text-Autoformat/pkg-plist b/textproc/p5-Text-Autoformat/pkg-plist
new file mode 100644
index 00000000000..7575b8b42f1
--- /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