summaryrefslogtreecommitdiff
path: root/textproc/par
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-01-12 11:23:38 +0000
committeragc <agc@pkgsrc.org>1998-01-12 11:23:38 +0000
commitc9ce289901e786430043711e226cb596879f21dc (patch)
tree64445ad7c3bbf5f87f2b78e4c7d202ca358580b0 /textproc/par
parent54a13432126503a0344239b5eedcaea498d045ab (diff)
downloadpkgsrc-c9ce289901e786430043711e226cb596879f21dc.tar.gz
Initial import of par, a text formatter like fmt(1) which can handle
UTF characters and uses different (lazy) algorithms for formatting, into the NetBSD packages collection, from the FreeBSD port.
Diffstat (limited to 'textproc/par')
-rw-r--r--textproc/par/Makefile26
-rw-r--r--textproc/par/files/md51
-rw-r--r--textproc/par/pkg/COMMENT1
-rw-r--r--textproc/par/pkg/DESCR19
-rw-r--r--textproc/par/pkg/PLIST2
5 files changed, 49 insertions, 0 deletions
diff --git a/textproc/par/Makefile b/textproc/par/Makefile
new file mode 100644
index 00000000000..f4f104ed46e
--- /dev/null
+++ b/textproc/par/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Par
+# Version required: 1.50
+# Date created: 6 Aug 1997
+# Whom: mark@grondar.za
+#
+# FreeBSD Id: Makefile,v 1.2 1997/08/13 06:33:51 asami Exp
+#
+
+DISTNAME= Par150
+PKGNAME= par-1.50
+CATEGORIES= textproc
+MASTER_SITES= http://www.cs.berkeley.edu/~amc/Par/
+
+MAINTAINER= mark@grondar.za
+
+ALL_TARGET=
+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/files/md5 b/textproc/par/files/md5
new file mode 100644
index 00000000000..e58947d8fc7
--- /dev/null
+++ b/textproc/par/files/md5
@@ -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