FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
p5-Text-CharWidth Get number of occupied columns of a string on terminal
0.04_1 textproc on this many watch lists=0 search for ports that depend on this port
Maintained by: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 31 Aug 2008 23:07:56
Also Listed In: perl5
License: not specified in port


This module supplies features similar as wcwidth(3) and wcswidth(3) in C
language.

Characters have its own width on terminal depending on locale. For example,
ASCII characters occupy one column per character, east Asian fullwidth
characters (like Hiragana or Han Ideograph) occupy two columns per
character, and combining characters (apperaring in ISO-8859-11 Thai,
Unicode, and so on) occupy zero columns per character. mbwidth() gives the
width of the first character of the given string and mbswidth() gives the
width of the whole given string.

The names of mbwidth and mbswidth came from "multibyte" versions of wcwidth
and wcswidth which are "wide character" versions.

mblen(string) returns number of bytes of the first character of the string.
Please note that a character may consist of multiple bytes in multibyte
encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, or Big5.

mbwidth(string) returns the width of the first character of the string.
mbswidth(string) returns the width of the whole string.

Parameters are to be given in locale encodings, not always in UTF-8.

WWW: http://search.cpan.org/dist/Text-CharWidth/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. lang/perl5.18
Required To Run:
  1. lang/perl5.18

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/textproc/p5-Text-CharWidth/ && make install clean
To add the package: pkg install textproc/p5-Text-CharWidth


Configuration Options
     No options to configure

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Text/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Text/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Text/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Text/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Text/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Text/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Text/
  8. http://backpan.perl.org/modules/by-module/Text/
  9. http://cpan.metacpan.org/modules/by-module/Text/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Text/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Text/
  13. http://www.cpan.dk/modules/by-module/Text/
  14. http://www.cpan.dk/modules/by-module/Text/
  15. http://www.cpan.org/modules/by-module/Text/

Number of commits found: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.04_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
10 Jun 2014 12:14:14
Original commit files touched by this commit  0.04
Revision:357300
mat search for other commits by this committer
Remove all the bootstrap files (.bs) from the plists.

Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
07 Nov 2013 03:52:42
Original commit files touched by this commit  0.04
Revision:333056
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 23:17:32
Original commit files touched by this commit  0.04
Revision:327773
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
02 Aug 2013 18:52:11
Original commit files touched by this commit  0.04
Revision:324174
mat search for other commits by this committer
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default.
17 May 2011 11:13:00
Original commit files touched by this commit  0.04
jadawin search for other commits by this committer
- Cleaning MD5 in perl@'s ports

Approved by:    erwin@ (portmgr)
28 Aug 2009 17:37:26
Original commit files touched by this commit  0.04
linimon search for other commits by this committer
Reset chinsan@FreeBSD.org due to numerous maintainer-timeouts and no
response to email.

Hat:            portmgr
31 Aug 2008 08:31:02
Original commit files touched by this commit  0.04
chinsan search for other commits by this committer
Add p5-Text-CharWidth, get number of occupied columns of a string on terminal.

This module supplies features similar as wcwidth(3) and wcswidth(3) in C
language.

Characters have its own width on terminal depending on locale. For example,
ASCII characters occupy one column per character, east Asian fullwidth
characters (like Hiragana or Han Ideograph) occupy two columns per
character, and combining characters (apperaring in ISO-8859-11 Thai,
Unicode, and so on) occupy zero columns per character. mbwidth() gives the
width of the first character of the given string and mbswidth() gives the
width of the whole given string.

The names of mbwidth and mbswidth came from "multibyte" versions of wcwidth
and wcswidth which are "wide character" versions.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 8

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
flacNov 25
asterisk11Nov 21
asterisk11Nov 21
phpmyadminNov 21
kde4-runtimeNov 20
kwebkitpartNov 20
yiiNov 19
chromiumNov 18
kde4-workspaceNov 17
dbusNov 11
wgetNov 08
konversation-kde4Nov 05
jenkinsOct 31
jenkins-ltsOct 31
twikiOct 31

9 vulnerabilities affecting 11 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24384
Broken 140
Deprecated 74
Ignore 397
Forbidden 1
Restricted 206
No CDROM 93
Vulnerable 18
Expired 12
Set to expire 70
Interactive 0
new 24 hours 2
new 48 hours4
new 7 days50
new fortnight174
new month231

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.