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

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 Find issues related to this port Report an issue related to this port
Maintainer: 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 : Homepage : PortsMon : pkg-plist

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

PKGNAME: p5-Text-CharWidth

distinfo:

SHA256 (Text-CharWidth-0.04.tar.gz) = abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8
SIZE (Text-CharWidth-0.04.tar.gz) = 8387


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

Build dependencies:
  1. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. perl5>=5.20<5.21 : lang/perl5.20

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...
Configuration Options
     No options to configure

USES:
perl5

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/
  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/
  10. http://cpan.metacpan.org/modules/by-module/Text/
  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.org/modules/by-module/Text/
Port Moves

Number of commits found: 10

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
15 Aug 2016 17:12:18
Original commit files touched by this commit  0.04_1
Revision:420253
mat search for other commits by this committer
Remove duplicate ports.

Sponsored by:	Absolight
15 Aug 2016 16:08:27
Original commit files touched by this commit  0.04_1
Revision:420248
pawel search for other commits by this committer
Register conflict, both ports install exact same files
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: 10

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
arjOct 19
cactiOct 19
mariadb100-serverOct 19
mariadb101-serverOct 19
mariadb102-serverOct 19
mariadb55-serverOct 19
mysql55-serverOct 19
mysql56-serverOct 19
mysql57-serverOct 19
percona55-serverOct 19
percona56-serverOct 19
percona57-serverOct 19
krb5Oct 18
krb5-113Oct 18
krb5-114Oct 18

22 vulnerabilities affecting 93 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 31602
Broken 154
Deprecated 78
Ignore 423
Forbidden 0
Restricted 175
No CDROM 78
Vulnerable 57
Expired 16
Set to expire 71
Interactive 0
new 24 hours 1
new 48 hours10
new 7 days17
new fortnight47
new month427

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