Here is an update for Text::Reflow.
What's new upstream (partial, see [0]): - add the reflow(1) tool, to use the module straight from the command line - various documentation fixes - fix a warning when reflow() is used on an empty string What's new in the port: - i took the decision to keep reflow(1) as reflow. There is no conflict with existing ports, and no consensus across various OSes (FreeBSD does like this, Debian put it as an example), unlike p5-File-Rename - it still requires FIX_EXTRACT_PERMISSIONS - for good measure, DESCR should have been reflow(1)'d. I haven't, but i've mentioned the tool exists. Testing: - 'make test' passes on macppc and amd64 (XS module) - the only consumer is net/p5-Zonemaster_cli, that still passes its test [1]. Comments/feedback are welcome! Charlène. [0] https://metacpan.org/source/MWARD/Text-Reflow-1.17/Changes [1] http://0x0.st/zA6S.tgz Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/p5-Text-Reflow/Makefile,v retrieving revision 1.5 diff -u -p -u -p -r1.5 Makefile --- Makefile 29 Dec 2017 07:24:49 -0000 1.5 +++ Makefile 15 May 2019 20:10:46 -0000 @@ -3,12 +3,11 @@ COMMENT = module for reflowing text files MODULES = cpan -DISTNAME = Text-Reflow-1.09 +DISTNAME = Text-Reflow-1.17 CATEGORIES = textproc -REVISION = 1 -FIX_EXTRACT_PERMISSIONS=Yes +FIX_EXTRACT_PERMISSIONS = Yes -# perl +# Perl PERMIT_PACKAGE_CDROM = Yes WANTLIB += c perl Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/p5-Text-Reflow/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 2 Jan 2015 14:35:46 -0000 1.1.1.1 +++ distinfo 15 May 2019 20:10:46 -0000 @@ -1,2 +1,2 @@ -SHA256 (Text-Reflow-1.09.tar.gz) = sqAWLWzsQdmSb8tGoc9IyByhl/QrrUZ6qeq/uac/WRI= -SIZE (Text-Reflow-1.09.tar.gz) = 15804 +SHA256 (Text-Reflow-1.17.tar.gz) = S/ITn/YX1uWcwOWc3s18tyPs/SjVrDh6+1U//cBxuGA= +SIZE (Text-Reflow-1.17.tar.gz) = 16651 Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/textproc/p5-Text-Reflow/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 DESCR --- pkg/DESCR 2 Jan 2015 14:35:46 -0000 1.1.1.1 +++ pkg/DESCR 15 May 2019 20:10:46 -0000 @@ -13,3 +13,6 @@ or after certain connectives ("a", "the" with a more "ragged" right margin than is produced by fmt or Text::Wrap but it is easier to read since fewer phrases are broken across line breaks. + +This module provides reflow(1), a tool allowing to reflow text straight +from the command line, according to that algorithm. Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/textproc/p5-Text-Reflow/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 PLIST --- pkg/PLIST 2 Jan 2015 14:35:46 -0000 1.1.1.1 +++ pkg/PLIST 15 May 2019 20:10:46 -0000 @@ -1,4 +1,5 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2015/01/02 14:35:46 florian Exp $ +bin/reflow ${P5ARCH}/ ${P5ARCH}/Text/ ${P5ARCH}/Text/Reflow.pm @@ -6,4 +7,5 @@ ${P5ARCH}/auto/ ${P5ARCH}/auto/Text/ ${P5ARCH}/auto/Text/Reflow/ ${P5ARCH}/auto/Text/Reflow/Reflow.so +@man man/man1/reflow.1 @man man/man3p/Text::Reflow.3p