Date: 31 Dec 2001 06:56:35 -0000 From: Seamus Venasse <svenasse@polaris.ca> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33382: New port: Convert state, province, county etc. names to/from code Message-ID: <20011231065635.30513.qmail@pris.polaris.ca>
next in thread | raw e-mail | index | archive | help
>Number: 33382 >Category: ports >Synopsis: New port: Convert state, province, county etc. names to/from code >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 30 23:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Seamus Venasse >Release: FreeBSD 4.4-STABLE i386 >Organization: Polaris Computing >Environment: System: FreeBSD pitou.polaris.ca 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Nov 7 01:23:05 PST 2001 root@pitou.polaris.ca:/usr/obj/usr/src/sys/PITOU i386 >Description: >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Locale-SubCountry # p5-Locale-SubCountry/Makefile # p5-Locale-SubCountry/distinfo # p5-Locale-SubCountry/pkg-comment # p5-Locale-SubCountry/pkg-descr # p5-Locale-SubCountry/pkg-plist # echo c - p5-Locale-SubCountry mkdir -p p5-Locale-SubCountry > /dev/null 2>&1 echo x - p5-Locale-SubCountry/Makefile sed 's/^X//' >p5-Locale-SubCountry/Makefile << 'END-of-p5-Locale-SubCountry/Makefile' X# New ports collection makefile for: Locale::SubCountry X# Date created: 30 Dec 2001 X# Whom: Seamus Venasse <svenasse@polaris.ca> X# X# $FreeBSD$ X# X XPORTNAME= Locale-SubCountry XPORTVERSION= 1.09 XCATEGORIES= misc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Locale XPKGNAMEPREFIX= p5- X XMAINTAINER= svenasse@polaris.ca X XPERL_CONFIGURE= yes X XMAN3= Locale::SubCountry.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include <bsd.port.mk> END-of-p5-Locale-SubCountry/Makefile echo x - p5-Locale-SubCountry/distinfo sed 's/^X//' >p5-Locale-SubCountry/distinfo << 'END-of-p5-Locale-SubCountry/distinfo' XMD5 (Locale-SubCountry-1.09.tar.gz) = d70a2b78d7b36f7cae03110f434c2c44 END-of-p5-Locale-SubCountry/distinfo echo x - p5-Locale-SubCountry/pkg-comment sed 's/^X//' >p5-Locale-SubCountry/pkg-comment << 'END-of-p5-Locale-SubCountry/pkg-comment' XConvert state, province, county etc. names to/from code END-of-p5-Locale-SubCountry/pkg-comment echo x - p5-Locale-SubCountry/pkg-descr sed 's/^X//' >p5-Locale-SubCountry/pkg-descr << 'END-of-p5-Locale-SubCountry/pkg-descr' XThis module allows you to convert the full name for a countries Xadministrative region to the code commonly used for postal addressing. XThe reverse lookup can also be done. Sub country codes are defined Xin "ISO 3166-2:1998, Codes for the representation of names of Xcountries and their subdivisions". X XSub countries are termed as states in the US and Australia, provinces Xin Canada and counties in the UK and Ireland. X XAdditionally, names and codes for all sub countries in a country Xcan be returned as either a hash or an array. X XWWW: http://search.cpan.org/search?dist=Locale-SubCountry X XSeamus Venasse <svenasse@polaris.ca> END-of-p5-Locale-SubCountry/pkg-descr echo x - p5-Locale-SubCountry/pkg-plist sed 's/^X//' >p5-Locale-SubCountry/pkg-plist << 'END-of-p5-Locale-SubCountry/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/Locale/SubCountry.pm Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale/SubCountry/.packlist X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Locale 2>/dev/null || true X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale/SubCountry X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Locale 2>/dev/null || true END-of-p5-Locale-SubCountry/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011231065635.30513.qmail>