From owner-freebsd-ports Sun Dec 30 23:10:53 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FAE137B438 for ; Sun, 30 Dec 2001 23:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBV7A1V26224; Sun, 30 Dec 2001 23:10:01 -0800 (PST) (envelope-from gnats) Received: from mail.polaris.ca (pris.polaris.ca [199.247.156.218]) by hub.freebsd.org (Postfix) with SMTP id 1A6FC37B64B for ; Sun, 30 Dec 2001 23:00:28 -0800 (PST) Received: (qmail 30519 invoked by uid 85); 31 Dec 2001 06:56:37 -0000 Message-Id: <20011231065635.30513.qmail@pris.polaris.ca> Date: 31 Dec 2001 06:56:35 -0000 From: Seamus Venasse Reply-To: Seamus Venasse To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/33382: New port: Convert state, province, county etc. names to/from code Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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 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