diff --git a/textproc/Makefile b/textproc/Makefile index a7e669bc5d88..ba7351475c2b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -868,6 +868,7 @@ SUBDIR += p5-Text-WikiCreole SUBDIR += p5-Text-WikiFormat SUBDIR += p5-Text-WordDiff + SUBDIR += p5-Text-WrapI18N SUBDIR += p5-Text-Wrapper SUBDIR += p5-Text-Xslate SUBDIR += p5-Text-Xslate-Bridge-TT2Like diff --git a/textproc/p5-Text-WrapI18N/Makefile b/textproc/p5-Text-WrapI18N/Makefile new file mode 100644 index 000000000000..48eda4f3ac1d --- /dev/null +++ b/textproc/p5-Text-WrapI18N/Makefile @@ -0,0 +1,22 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Text-WrapI18N +PORTVERSION= 0.06 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Line wrapping module + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Text-CharWidth>=0.02:${PORTSDIR}/textproc/p5-Text-CharWidth +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_PERL5= configure +USES= perl5 + +.include diff --git a/textproc/p5-Text-WrapI18N/distinfo b/textproc/p5-Text-WrapI18N/distinfo new file mode 100644 index 000000000000..6998d9951ae7 --- /dev/null +++ b/textproc/p5-Text-WrapI18N/distinfo @@ -0,0 +1,2 @@ +SHA256 (Text-WrapI18N-0.06.tar.gz) = 4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488 +SIZE (Text-WrapI18N-0.06.tar.gz) = 3812 diff --git a/textproc/p5-Text-WrapI18N/pkg-descr b/textproc/p5-Text-WrapI18N/pkg-descr new file mode 100644 index 000000000000..6c653d7ba1c0 --- /dev/null +++ b/textproc/p5-Text-WrapI18N/pkg-descr @@ -0,0 +1,12 @@ +Text::WrapI18N intends to be a better Text::Wrap module. This module is needed +to support multibyte character encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, +and Big5. This module also supports characters with irregular widths, such as +combining characters (which occupy zero columns on terminal, like diacritical +marks in UTF-8) and fullwidth characters (which occupy two columns on terminal, +like most of east Asian characters). Also, minimal handling of languages which +doesn't use whitespaces between words (like Chinese and Japanese) is supported. + +Like Text::Wrap, hyphenation and "kinsoku" processing are not supported, to keep +simplicity. + +WWW: http://search.cpan.org/dist/Text-WrapI18N/ diff --git a/textproc/p5-Text-WrapI18N/pkg-plist b/textproc/p5-Text-WrapI18N/pkg-plist new file mode 100644 index 000000000000..6a2bb2708d4f --- /dev/null +++ b/textproc/p5-Text-WrapI18N/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/Text/WrapI18N.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/WrapI18N/.packlist +%%PERL5_MAN3%%/Text::WrapI18N.3.gz +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/WrapI18N +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text +@dirrmtry %%SITE_PERL%%/Text