textproc/p5-Text-Capitalize 1.5 FreeBSD
Capitalize strings ("to WORK AS titles" becomes "To Work as Titles")
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 19.8 KiB, 37.4 KiB installed
Description
Text::Capitalize provides a few different flavors of procedures for title-like formatting for strings.
For the "capitalize" function Title-like (written by Stanislaw Y. Pusep) formatting consists of ensuring that the first letter of each word is uppercase, and that the rest is lowercase.
The "capitalize_title" function tries to get closer to English title capitalization rules where only the "important" words are supposed to be capitalized. There are also some customization features provided to allow the user to choose variant rules.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-Text-Capitalize | 1.5 |
| DragonFly | textproc/p5-Text-Capitalize | 1.5 |
Install
Binary package:
pkg install p5-Text-Capitalize
From the ports tree:
cd /usr/ports/textproc/p5-Text-Capitalize/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Text-Capitalize>0:textproc/p5-Text-Capitalize
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.5 | 1.5 | 1.5 | 1.5 | 1.5 |
| FreeBSD:14:quarterly | 1.5 | 1.5 | n/a | 1.5 | 1.5 |
| FreeBSD:15:latest | 1.5 | 1.5 | n/a | 1.5 | 1.5 |
| FreeBSD:15:quarterly | 1.5 | 1.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.5 | 1.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Test 1
p5-PerlIO-locale>=0: devel/p5-PerlIO-locale
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Text::Capitalize.3.gz
- %%SITE_PERL%%/Text/Capitalize.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Text-Capitalize-1.5.tar.gz | 29425 | e01bf82325415538e02b4acf4a22d08e0afd63864a56c7d9c84b53367f37ab38 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.