aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1997-08-06 22:36:48 +0800
committermarkm <markm@FreeBSD.org>1997-08-06 22:36:48 +0800
commitdec0e0ee5558a18e559b0d07a8430118971ec1fa (patch)
treeaee4d34d8e24f19581c500efb67b92f230e87858 /textproc
parentafb2c03c81273b149f2b770cc8eba98e8f3d3c32 (diff)
downloadfreebsd-ports-graphics-dec0e0ee5558a18e559b0d07a8430118971ec1fa.tar.gz
freebsd-ports-graphics-dec0e0ee5558a18e559b0d07a8430118971ec1fa.tar.zst
freebsd-ports-graphics-dec0e0ee5558a18e559b0d07a8430118971ec1fa.zip
Par is a paragraph formatter similar in intent to fmt(1), but
written with email in mind, so it takes multiple paragraphs and quote characters into consideration. This is version 1.50.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/par/Makefile28
-rw-r--r--textproc/par/distinfo1
-rw-r--r--textproc/par/pkg-comment1
-rw-r--r--textproc/par/pkg-descr19
-rw-r--r--textproc/par/pkg-plist2
5 files changed, 51 insertions, 0 deletions
diff --git a/textproc/par/Makefile b/textproc/par/Makefile
new file mode 100644
index 00000000000..2c9c575861a
--- /dev/null
+++ b/textproc/par/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: Par
+# Version required: 1.50
+# Date created: 6 Aug 1997
+# Whom: mark@grondar.za
+#
+# $Id$
+#
+
+DISTNAME= par-1.50
+DISTFILES= Par150.tar.gz
+CATEGORIES= textproc
+MASTER_SITES= http://www.cs.berkeley.edu/~amc/Par/
+WRKSRC= ${WRKDIR}/Par150
+
+ALL_TARGET=
+
+MAINTAINER= mark@grondar.za
+
+MAN1= par.1
+
+do-configure:
+ (cd ${WRKSRC}; cp protoMakefile Makefile)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/par.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/textproc/par/distinfo b/textproc/par/distinfo
new file mode 100644
index 00000000000..e58947d8fc7
--- /dev/null
+++ b/textproc/par/distinfo
@@ -0,0 +1 @@
+MD5 (Par150.tar.gz) = 657e54eca896e43782282eda1af92e1a
diff --git a/textproc/par/pkg-comment b/textproc/par/pkg-comment
new file mode 100644
index 00000000000..eb88166dd6c
--- /dev/null
+++ b/textproc/par/pkg-comment
@@ -0,0 +1 @@
+Pargraph reformatter for email
diff --git a/textproc/par/pkg-descr b/textproc/par/pkg-descr
new file mode 100644
index 00000000000..98b0e2236d5
--- /dev/null
+++ b/textproc/par/pkg-descr
@@ -0,0 +1,19 @@
+ Par is a filter which copies its input to its output, changing all
+ white characters (except newlines) to spaces, and reformatting
+ each paragraph. Paragraphs are separated by protected, blank, and
+ bodiless lines (see the Terminology section for definitions), and
+ optionally delimited by indentation (see the d option in the Options
+ section).
+
+ Each output paragraph is generated from the corresponding input
+ paragraph as follows:
+
+ 1) An optional prefix and/or suffix is removed from each input
+ line.
+ 2) The remainder is divided into words (separated by spaces).
+ 3) The words are joined into lines to make an eye-pleasing
+ paragraph.
+ 4) The prefixes and suffixes are reattached.
+
+ If there are suffixes, spaces are inserted before them so that they
+ all end in the same column.
diff --git a/textproc/par/pkg-plist b/textproc/par/pkg-plist
new file mode 100644
index 00000000000..0a681eb6e01
--- /dev/null
+++ b/textproc/par/pkg-plist
@@ -0,0 +1,2 @@
+bin/par
+man/man1/par.1.gz