BSD Ports

textproc/p5-String-ToIdentifier-EN 0.12 FreeBSD

Convert Strings to English Program Identifiers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
textproc, perl5
Package size
15.4 KiB, 52.0 KiB installed

Description

String::ToIdentifier::EN provides a utility method, "to_identifier" for converting an arbitrary string into a readable representation using the ASCII subset of \w for use as an identifier in a computer program. The intent is to make unique identifier names from which the content of the original string can be easily inferred by a human just by reading the identifier.

If you need the full set of \w including Unicode, see the subclass String::ToIdentifier::EN::Unicode.

Currently, this process is one way only, and will likely remain this way.

The default is to create camelCase identifiers, or you may pass in a separator char of your choice such as _.

Binary char groups will be separated by _ even in camelCase identifiers to make them easier to read, e.g.: foo_2_0xFF_Bar.

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-String-ToIdentifier-EN0.12
OpenBSDtextproc/p5-String-ToIdentifier-EN0.12p0
NetBSDtextproc/p5-String-ToIdentifier-EN0.12nb9
DragonFlytextproc/p5-String-ToIdentifier-EN0.12

Install

Binary package:

pkg install p5-String-ToIdentifier-EN

From the ports tree:

cd /usr/ports/textproc/p5-String-ToIdentifier-EN/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-String-ToIdentifier-EN>0:textproc/p5-String-ToIdentifier-EN

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.120.120.120.120.12
FreeBSD:14:quarterly0.120.12n/a0.120.12
FreeBSD:15:latest0.120.12n/a0.120.12
FreeBSD:15:quarterly0.120.12n/an/an/a
FreeBSD:16:latest0.120.12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 45
Run dependencies 45

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/String/ToIdentifier/EN.pm
  • %%SITE_PERL%%/String/ToIdentifier/EN/Unicode.pm
  • %%PERL5_MAN3%%/String::ToIdentifier::EN.3.gz
  • %%PERL5_MAN3%%/String::ToIdentifier::EN::Unicode.3.gz
distinfo 1
FileSizeSHA256
String-ToIdentifier-EN-0.12.tar.gz187773afb84232930b9ac5b1ada383c8dd5907ae4e23aec5abb016f70f9e8053cdc8a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.