summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-CharWidth/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2006-01-13 18:17:23 +0000
committerwiz <wiz>2006-01-13 18:17:23 +0000
commit261470e1726ff92111b90bd8b9227596e70d645e (patch)
tree74108346595529bfcedd93b5a34b084f0f74e4cf /textproc/p5-Text-CharWidth/Makefile
parent65a4a6b105b50a31fe5a25f16e73305a0e79b59a (diff)
downloadpkgsrc-261470e1726ff92111b90bd8b9227596e70d645e.tar.gz
Initial import of p5-Text-CharWidth-0.04:
This is a module to provide equivalent feature as wcwidth(3) and wcswidth(3). This also provides mblen(3) equivalent subroutine. mbwidth() and mbswidth() are provided subroutines corresponding wcwidth(3) and wcswidth(3) in C language. The prefix "mb" expresses that they handles "multibyte character" in C meaning, i.e., character encoding specified by LC_CTYPE locale. These subroutines are used to get the width of characters on terminal. Though most characters have width of 1, there are exceptions. Fullwidth characters are characters with width of 2. Most of east Asian characters such as Hiragana, Katakana, Hangul, Han Ideogram are fullwidth. Combining characters are characters with width of 0. Unicode has many combining characters like diacritical marks. There are languages which need combining characters such as Thai and Vietnamese. Thus, if you would like to format international texts on terminal, you will have to be aware of variation of character width and will want to use this module.
Diffstat (limited to 'textproc/p5-Text-CharWidth/Makefile')
-rw-r--r--textproc/p5-Text-CharWidth/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/p5-Text-CharWidth/Makefile b/textproc/p5-Text-CharWidth/Makefile
new file mode 100644
index 00000000000..cf1934a675f
--- /dev/null
+++ b/textproc/p5-Text-CharWidth/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/13 18:17:23 wiz Exp $
+
+DISTNAME= Text-CharWidth-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Text-CharWidth/
+COMMENT= Perl5 wrappers around wcwidth(3) and family
+
+PERL5_PACKLIST= auto/Text/CharWidth/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"