misc/p5-Locale-SubCountry 2.07
Convert state, province, county etc. names to/from code
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- misc, perl5
- Package size
- 70.1 KiB, 554.2 KiB installed
Description
This module allows you to convert the full name for a countries administrative region to the code commonly used for postal addressing. The reverse lookup can also be done. Sub country codes are defined in "ISO 3166-2:1998, Codes for the representation of names of countries and their subdivisions".
Sub countries are termed as states in the US and Australia, provinces in Canada and counties in the UK and Ireland.
Additionally, names and codes for all sub countries in a country can be returned as either a hash or an array.
Install
As a binary package — by origin, or by package name:
pkg install misc/p5-Locale-SubCountry
pkg install p5-Locale-SubCountry
From the ports tree:
cd /usr/ports/misc/p5-Locale-SubCountry/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Locale-SubCountry>0:misc/p5-Locale-SubCountry
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 | 2.07 | 2.07 | 2.07 | 2.07 | 2.07 |
| FreeBSD:14:quarterly | 2.07 | 2.07 | n/a | 2.07 | 2.07 |
| FreeBSD:15:latest | 2.07 | 2.07 | n/a | 2.07 | 2.07 |
| FreeBSD:15:quarterly | 2.07 | 2.07 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.07 | 2.07 | 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.
Build 1
p5-JSON>=1: converters/p5-JSON
Runtime 1
p5-JSON>=1: converters/p5-JSON
The full lists below include those, and their dependencies in turn.
All build dependencies 2
All run dependencies 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_PERL%%/Locale/SubCountry.pm
- %%SITE_PERL%%/Locale/SubCountry/Codes.pm
- %%PERL5_MAN3%%/Locale::SubCountry.3.gz
- %%PERL5_MAN3%%/Locale::SubCountry::Codes.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Locale-SubCountry-2.07.tar.gz | 102132 | 0ac93834ee97cc71d86e2c4d2000abe7e47a38513ebb2f97320fe2b90e2d8da3 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.