diff --git a/textproc/par/Makefile b/textproc/par/Makefile index 7aaa89ba7a1..b5bf0e404cd 100644 --- a/textproc/par/Makefile +++ b/textproc/par/Makefile @@ -1,22 +1,26 @@ -# $OpenBSD: Makefile,v 1.9 2002/03/21 21:25:53 espie Exp $ +# $OpenBSD: Makefile,v 1.10 2002/06/10 07:33:57 naddy Exp $ COMMENT= "paragraph reflow for email" -DISTNAME= Par152 -PKGNAME= par-1.52 +VERSION= 1.52 +DISTNAME= Par${VERSION:S/.//} +PKGNAME= par-${VERSION} CATEGORIES= textproc NEED_VERSION= 1.515 -MASTER_SITES= http://www.cs.berkeley.edu/~amc/Par/ + +HOMEPAGE= http://www.cs.berkeley.edu/~amc/Par/ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes +MASTER_SITES= ${HOMEPAGE} + ALL_TARGET= do-configure: - (cd ${WRKSRC}; cp protoMakefile Makefile) + cd ${WRKSRC}; cp protoMakefile Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin diff --git a/textproc/par/pkg/DESCR b/textproc/par/pkg/DESCR index 98b0e2236d5..573f83dff1d 100644 --- a/textproc/par/pkg/DESCR +++ b/textproc/par/pkg/DESCR @@ -1,19 +1,17 @@ - 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). +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, and optionally delimited by indentation. - Each output paragraph is generated from the corresponding input - paragraph as follows: +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. +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. +If there are suffixes, spaces are inserted before them so that they +all end in the same column. + +WWW: ${HOMEPAGE}