aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-Locale-SubCountry
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-01-27 05:02:26 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-01-27 05:02:26 +0000
commit1f46700db31ba3496925404863425b821f7e8442 (patch)
treee40ebb035fcc17ec2c49e048a8416ee521dbd56b /misc/p5-Locale-SubCountry
parentd52e203407b25358bf6a45fae276bd3c06339fb6 (diff)
downloadports-1f46700db31ba3496925404863425b821f7e8442.tar.gz
ports-1f46700db31ba3496925404863425b821f7e8442.zip
Add p5-Locale-SubCountry 1.09, convert state, province, county etc.
names to/from code. PR: 33382 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes: svn path=/head/; revision=53824
Diffstat (limited to 'misc/p5-Locale-SubCountry')
-rw-r--r--misc/p5-Locale-SubCountry/Makefile22
-rw-r--r--misc/p5-Locale-SubCountry/distinfo1
-rw-r--r--misc/p5-Locale-SubCountry/pkg-comment1
-rw-r--r--misc/p5-Locale-SubCountry/pkg-descr15
-rw-r--r--misc/p5-Locale-SubCountry/pkg-plist5
5 files changed, 44 insertions, 0 deletions
diff --git a/misc/p5-Locale-SubCountry/Makefile b/misc/p5-Locale-SubCountry/Makefile
new file mode 100644
index 000000000000..21b892cb3dd7
--- /dev/null
+++ b/misc/p5-Locale-SubCountry/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: Locale::SubCountry
+# Date created: 30 Dec 2001
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Locale-SubCountry
+PORTVERSION= 1.09
+CATEGORIES= misc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Locale
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+PERL_CONFIGURE= yes
+
+MAN3= Locale::SubCountry.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Locale-SubCountry/distinfo b/misc/p5-Locale-SubCountry/distinfo
new file mode 100644
index 000000000000..9cf61c247280
--- /dev/null
+++ b/misc/p5-Locale-SubCountry/distinfo
@@ -0,0 +1 @@
+MD5 (Locale-SubCountry-1.09.tar.gz) = d70a2b78d7b36f7cae03110f434c2c44
diff --git a/misc/p5-Locale-SubCountry/pkg-comment b/misc/p5-Locale-SubCountry/pkg-comment
new file mode 100644
index 000000000000..9a26d0089341
--- /dev/null
+++ b/misc/p5-Locale-SubCountry/pkg-comment
@@ -0,0 +1 @@
+Convert state, province, county etc. names to/from code
diff --git a/misc/p5-Locale-SubCountry/pkg-descr b/misc/p5-Locale-SubCountry/pkg-descr
new file mode 100644
index 000000000000..1f823165747a
--- /dev/null
+++ b/misc/p5-Locale-SubCountry/pkg-descr
@@ -0,0 +1,15 @@
+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.
+
+WWW: http://search.cpan.org/search?dist=Locale-SubCountry
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/misc/p5-Locale-SubCountry/pkg-plist b/misc/p5-Locale-SubCountry/pkg-plist
new file mode 100644
index 000000000000..e1b3cb9a43ba
--- /dev/null
+++ b/misc/p5-Locale-SubCountry/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/Locale/SubCountry.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale/SubCountry/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale/SubCountry
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Locale 2>/dev/null || true