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.
This commit is contained in:
Mark Murray 1997-08-06 14:36:48 +00:00
parent 9935f25ef9
commit e50cc56bb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7493
5 changed files with 51 additions and 0 deletions

28
textproc/par/Makefile Normal file
View File

@ -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>

1
textproc/par/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (Par150.tar.gz) = 657e54eca896e43782282eda1af92e1a

1
textproc/par/pkg-comment Normal file
View File

@ -0,0 +1 @@
Pargraph reformatter for email

19
textproc/par/pkg-descr Normal file
View File

@ -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.

2
textproc/par/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
bin/par
man/man1/par.1.gz