FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.072.072.072.072.07
FreeBSD:14:quarterly2.072.07n/a2.072.07
FreeBSD:15:latest2.072.07n/a2.072.07
FreeBSD:15:quarterly2.072.07n/an/an/a
FreeBSD:16:latest2.072.07n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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
FileSizeSHA256
Locale-SubCountry-2.07.tar.gz1021320ac93834ee97cc71d86e2c4d2000abe7e47a38513ebb2f97320fe2b90e2d8da3
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.