Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
This is a module which intends to substitute Text::Wrap,
which supports internationalized texts including:
- multibyte encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5,
- fullwidth characters like east Asian characters which appear in
UTF-8, EUC-JP, EUC-KR, GB2312, Big5, and so on,
- combining characters like diacritical marks which appear in UTF-8,
ISO-8859-11 (aka TIS-620), and so on, and
- languages which don't use whitespaces between words, like Chinese
and Japanese.
The text is to be given in locale encoding, not always in UTF-8.
(Of course locale encoding is UTF-8 in UTF-8 locales.)
+22
View File
@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.13 2013/05/31 12:42:18 wiz Exp $
DISTNAME= Text-WrapI18N-0.06
PKGNAME= p5-${DISTNAME}
PKGREVISION= 7
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Text-WrapI18N/
COMMENT= Perl5 module to wrap internationalized text
DEPENDS+= p5-Text-CharWidth-[0-9]*:../../textproc/p5-Text-CharWidth
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Text/WrapI18N/.packlist
pre-configure:
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2009/01/02 21:45:45 he Exp $
SHA1 (Text-WrapI18N-0.06.tar.gz) = f397756b8d0a090fdecbf9c854922c0d9825f284
RMD160 (Text-WrapI18N-0.06.tar.gz) = ec9d23dd6c90ef21a4cd032b51cfa5b3a79b0e25
Size (Text-WrapI18N-0.06.tar.gz) = 3812 bytes
SHA1 (patch-aa) = aa94d5721002bd493cba10435f8d7e9a22b628ed
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2009/01/02 21:45:45 he Exp $
--- WrapI18N.pm.orig 2003-06-25 11:14:25.000000000 +0200
+++ WrapI18N.pm
@@ -88,7 +88,7 @@ sub wrap {
$len = 0;
$text = $top2 . $text;
$word = ''; $wlen = 0;
- } elsif ($wlen + $w <= $columns) {
+ } elsif ($wlen + $w <= $columns - length($top2)) {
# the current word is sent to next line
$out .= $separator;
$len = 0;