aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-07 16:52:30 +0800
committermiwi <miwi@FreeBSD.org>2008-08-07 16:52:30 +0800
commit1bd567cd3c6354ad85baec234c6a05eab89c0ec1 (patch)
treecbb75031c77175d40ff664c1d7f0974e25bd01ad
parent504d06ce13735a89014dcae9415d93b72095e716 (diff)
downloadfreebsd-ports-gnome-1bd567cd3c6354ad85baec234c6a05eab89c0ec1.tar.gz
freebsd-ports-gnome-1bd567cd3c6354ad85baec234c6a05eab89c0ec1.tar.zst
freebsd-ports-gnome-1bd567cd3c6354ad85baec234c6a05eab89c0ec1.zip
Map from US two-letter codes to statees and vice versa.
WWW: http://search.cpan.org/dist/Locale-US/ PR: ports/126122 Submitted by: Tomoyuki Sakurai <cherry at trombik.org>
-rw-r--r--misc/Makefile1
-rw-r--r--misc/p5-Locale-US/Makefile20
-rw-r--r--misc/p5-Locale-US/distinfo3
-rw-r--r--misc/p5-Locale-US/files/patch-US.pm10
-rw-r--r--misc/p5-Locale-US/pkg-descr3
-rw-r--r--misc/p5-Locale-US/pkg-plist6
6 files changed, 43 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 61315fe2a96b..c094eb668c84 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -374,6 +374,7 @@
SUBDIR += p5-Locale-Codes
SUBDIR += p5-Locale-Msgcat
SUBDIR += p5-Locale-SubCountry
+ SUBDIR += p5-Locale-US
SUBDIR += p5-Net-vCard
SUBDIR += p5-Norge
SUBDIR += p5-Test-Dir
diff --git a/misc/p5-Locale-US/Makefile b/misc/p5-Locale-US/Makefile
new file mode 100644
index 000000000000..dd3a252aec64
--- /dev/null
+++ b/misc/p5-Locale-US/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: p5-Locale-US
+# Date created: 2008-07-31
+# Whom: Tomoyuki Sakurai <cherry@trombik.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Locale-US
+PORTVERSION= 1.2
+CATEGORIES= misc
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= cherry@trombik.org
+COMMENT= Two letter codes for state identification in the United States
+
+PERL_CONFIGURE= Yes
+MAN3= Locale::US.3
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Locale-US/distinfo b/misc/p5-Locale-US/distinfo
new file mode 100644
index 000000000000..60baeeabe24f
--- /dev/null
+++ b/misc/p5-Locale-US/distinfo
@@ -0,0 +1,3 @@
+MD5 (Locale-US-1.2.tar.gz) = d748870d0b657f78d7ea044cbf35eacc
+SHA256 (Locale-US-1.2.tar.gz) = 551f82fbadce925969d230b83494be6b432210bd16003229a6b006bf0cc25186
+SIZE (Locale-US-1.2.tar.gz) = 4137
diff --git a/misc/p5-Locale-US/files/patch-US.pm b/misc/p5-Locale-US/files/patch-US.pm
new file mode 100644
index 000000000000..89203a0f70c3
--- /dev/null
+++ b/misc/p5-Locale-US/files/patch-US.pm
@@ -0,0 +1,10 @@
+--- US.pm.orig 2008-07-31 14:50:56.000000000 +0900
++++ US.pm 2008-07-31 14:51:02.000000000 +0900
+@@ -4,7 +4,6 @@ use 5.006001;
+ use strict;
+ use warnings;
+
+-use Data::Dumper;
+
+ require Exporter;
+
diff --git a/misc/p5-Locale-US/pkg-descr b/misc/p5-Locale-US/pkg-descr
new file mode 100644
index 000000000000..27b1bc49b5b5
--- /dev/null
+++ b/misc/p5-Locale-US/pkg-descr
@@ -0,0 +1,3 @@
+Map from US two-letter codes to statees and vice versa.
+
+WWW: http://search.cpan.org/dist/Locale-US/
diff --git a/misc/p5-Locale-US/pkg-plist b/misc/p5-Locale-US/pkg-plist
new file mode 100644
index 000000000000..538469e9fa4d
--- /dev/null
+++ b/misc/p5-Locale-US/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Locale/US.pm
+%%SITE_PERL%%/Locale/kruft2codes.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/US/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale/US
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Locale
+@dirrmtry %%SITE_PERL%%/Locale