aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2011-02-26 17:02:23 +0800
committerkuriyama <kuriyama@FreeBSD.org>2011-02-26 17:02:23 +0800
commitffc22f41d35e4b54dbd4bf0b627afd99be715a2b (patch)
treed633542eafb38008604db27993f2be490332bf7f
parente7d0e6485a7de64bd6c2fddfa5edd507aa74c821 (diff)
downloadfreebsd-ports-gnome-ffc22f41d35e4b54dbd4bf0b627afd99be715a2b.tar.gz
freebsd-ports-gnome-ffc22f41d35e4b54dbd4bf0b627afd99be715a2b.tar.zst
freebsd-ports-gnome-ffc22f41d35e4b54dbd4bf0b627afd99be715a2b.zip
I18N::AcceptLanguage matches language preference to available
languages per rules defined in RFC 2616, section 14.4: HTTP/1.1 - Header Field Definitions - Accept-Language. WWW: http://search.cpan.org/dist/I18N-AcceptLanguage/
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-I18N-AcceptLanguage/Makefile21
-rw-r--r--www/p5-I18N-AcceptLanguage/distinfo2
-rw-r--r--www/p5-I18N-AcceptLanguage/pkg-descr5
-rw-r--r--www/p5-I18N-AcceptLanguage/pkg-plist5
5 files changed, 34 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c0c455f4cdcc..438103721b79 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1070,6 +1070,7 @@
SUBDIR += p5-HTTPD-Log-Filter
SUBDIR += p5-HTTPD-User-Manage
SUBDIR += p5-Handel
+ SUBDIR += p5-I18N-AcceptLanguage
SUBDIR += p5-IMDB-Film
SUBDIR += p5-IMDB-Movie
SUBDIR += p5-Image-Delivery
diff --git a/www/p5-I18N-AcceptLanguage/Makefile b/www/p5-I18N-AcceptLanguage/Makefile
new file mode 100644
index 000000000000..24e558c77930
--- /dev/null
+++ b/www/p5-I18N-AcceptLanguage/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: I18N::AcceptLanguage
+# Date created: 14 Feb 2011
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= I18N-AcceptLanguage
+PORTVERSION= 1.04
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension to matches language preference (HTTP Accept-Language)
+
+PERL_CONFIGURE= yes
+
+MAN3= I18N::AcceptLanguage.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-I18N-AcceptLanguage/distinfo b/www/p5-I18N-AcceptLanguage/distinfo
new file mode 100644
index 000000000000..62dcbeb750f0
--- /dev/null
+++ b/www/p5-I18N-AcceptLanguage/distinfo
@@ -0,0 +1,2 @@
+SHA256 (I18N-AcceptLanguage-1.04.tar.gz) = 312e41169591fc4c8f6f1e7fe129820f42f7dbe38506d9103ff41aa720f40309
+SIZE (I18N-AcceptLanguage-1.04.tar.gz) = 9031
diff --git a/www/p5-I18N-AcceptLanguage/pkg-descr b/www/p5-I18N-AcceptLanguage/pkg-descr
new file mode 100644
index 000000000000..99943454e870
--- /dev/null
+++ b/www/p5-I18N-AcceptLanguage/pkg-descr
@@ -0,0 +1,5 @@
+I18N::AcceptLanguage matches language preference to available
+languages per rules defined in RFC 2616, section 14.4: HTTP/1.1 -
+Header Field Definitions - Accept-Language.
+
+WWW: http://search.cpan.org/dist/I18N-AcceptLanguage/
diff --git a/www/p5-I18N-AcceptLanguage/pkg-plist b/www/p5-I18N-AcceptLanguage/pkg-plist
new file mode 100644
index 000000000000..845ac0a0fe0b
--- /dev/null
+++ b/www/p5-I18N-AcceptLanguage/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/I18N/AcceptLanguage/.packlist
+%%SITE_PERL%%/I18N/AcceptLanguage.pm
+@dirrmtry %%SITE_PERL%%/I18N
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/I18N/AcceptLanguage
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/I18N