Subject: pkg/12636: new package p5-Text-Autoformat
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nrahlstr@winternet.com>
List: netbsd-bugs
Date: 04/13/2001 08:59:12
>Number: 12636
>Category: pkg
>Synopsis: new package p5-Text-Autoformat
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 13 11:48:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Nathan Ahlstrom
>Release: Latest pkgsrc.
>Organization:
me
>Environment:
System: NetBSD games 1.5.1_BETA NetBSD 1.5.1_BETA (GAMES) #0: Tue Apr 10 17:28:44 CDT 2001 root@games:/a/src/sys/arch/i386/compile/GAMES i386
>Description:
New package p5-Text-Autoformat. This package is useful for
text formatting.
>How-To-Repeat:
The perl Template-Toolkit depends on this module. (The
Template-Toolkit is not in pkgsrc)
>Fix:
Attached is a shar archive of the package and it ChangeLog.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Text-Autoformat
# p5-Text-Autoformat/files
# p5-Text-Autoformat/files/md5
# p5-Text-Autoformat/pkg
# p5-Text-Autoformat/pkg/DESCR
# p5-Text-Autoformat/pkg/PLIST
# p5-Text-Autoformat/Makefile
#
echo c - p5-Text-Autoformat
mkdir -p p5-Text-Autoformat > /dev/null 2>&1
echo c - p5-Text-Autoformat/files
mkdir -p p5-Text-Autoformat/files > /dev/null 2>&1
echo x - p5-Text-Autoformat/files/md5
sed 's/^X//' >p5-Text-Autoformat/files/md5 << 'END-of-p5-Text-Autoformat/files/md5'
X$NetBSD$
X
XSHA1 (Text-Autoformat-1.04.tar.gz) = 37542dab1e1db7e4aada2886084c413fc2d2aaab
END-of-p5-Text-Autoformat/files/md5
echo c - p5-Text-Autoformat/pkg
mkdir -p p5-Text-Autoformat/pkg > /dev/null 2>&1
echo x - p5-Text-Autoformat/pkg/DESCR
sed 's/^X//' >p5-Text-Autoformat/pkg/DESCR << 'END-of-p5-Text-Autoformat/pkg/DESCR'
XText::Autoformat provides intelligent formatting of plaintext. It also
Xsupplies a replacement for the built-in perl format()'ing mechanism. It
Xrecognizes Internet quoting conventions, bulleting and numbering, and allows
Xfor inter-word and inter-paragraph spatial adjustments, text justification,
Xand various capitialization schemes.
END-of-p5-Text-Autoformat/pkg/DESCR
echo x - p5-Text-Autoformat/pkg/PLIST
sed 's/^X//' >p5-Text-Autoformat/pkg/PLIST << 'END-of-p5-Text-Autoformat/pkg/PLIST'
X@comment $NetBSD$
END-of-p5-Text-Autoformat/pkg/PLIST
echo x - p5-Text-Autoformat/Makefile
sed 's/^X//' >p5-Text-Autoformat/Makefile << 'END-of-p5-Text-Autoformat/Makefile'
X# $NetBSD$
X#
X
XDISTNAME= Text-Autoformat-1.04
XPKGNAME= p5-${DISTNAME}
XCATEGORIES= textproc perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://www.cs.monash.edu.au/~damian
XCOMMENT= p5 module for automatic or manual text wrapping and reformating
X
XUSE_PERL5= # defined
XPERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Text/Autoformat/.packlist
X
Xdo-configure:
X @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
X
X.include "../../mk/bsd.pkg.mk"
END-of-p5-Text-Autoformat/Makefile
exit
Revision history for Perl extension Text::Autoformat.
0.01 Mon Nov 3 14:05:02 1997
- original version; created by h2xs 1.18
1.03 Thu Oct 26 10:14:20 2000
- Tweaked test.pl and POD
- required 5.005
(module uses funky stuff that's broken in earlier perls - sorry Dave)
- added break_TeX subroutine to take advantage of TeX::Hyphen
if it's installed.
- documented "sticky" config mode
- Changed semantics of footer generation slightly (see doc)
- fixed niggle in widow handling under full justification
- Added pagenum option to control page numbering
- Added three-part hash specification option for headers and footers
(thanks Chaim)
- Added separator handling to autoformat -- also fixes
underlining of heading (thanks very much Simon)
1.04 Tue Dec 5 10:31:22 2000
- Limited numerical bullets to 3 digits.
This stops autoformat from misclassifying orphaned years such as
2001.
- Added new abbreviations
- Doc patch on numerical formatting (thanks Andy)
- Major bug fixes to renumbering mechanism
- Turned off renumbering in quoted text.
- Added correct autostringification of autostringifying objects
passed to &form. (Thanks Leon)
- Cleaned up "evil" exporting code left over from testing
(Thanks Rick)
>Release-Note:
>Audit-Trail:
>Unformatted: