aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2009-07-29 18:12:51 +0800
committertobez <tobez@FreeBSD.org>2009-07-29 18:12:51 +0800
commit593727075291e488bc1988beeae7690ff32efacc (patch)
tree371ba433c7e25ef677b561e58abd5ec045a05d25
parent77c8502971759ac0cd80e6f2b7cfe52950aade70 (diff)
downloadfreebsd-ports-gnome-593727075291e488bc1988beeae7690ff32efacc.tar.gz
freebsd-ports-gnome-593727075291e488bc1988beeae7690ff32efacc.tar.zst
freebsd-ports-gnome-593727075291e488bc1988beeae7690ff32efacc.zip
Add converters/p5-Encoding-FixLatin, a Perl module and a command-line
utility to convert input which may contain characters in more than one encoding to UTF-8 output.
-rw-r--r--converters/Makefile1
-rw-r--r--converters/p5-Encoding-FixLatin/Makefile23
-rw-r--r--converters/p5-Encoding-FixLatin/distinfo3
-rw-r--r--converters/p5-Encoding-FixLatin/pkg-descr6
-rw-r--r--converters/p5-Encoding-FixLatin/pkg-plist6
5 files changed, 39 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 599ca8e2a7bd..7713c8f32606 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -60,6 +60,7 @@
SUBDIR += p5-Encode-Detect
SUBDIR += p5-Encode-JIS2K
SUBDIR += p5-Encode-compat
+ SUBDIR += p5-Encoding-FixLatin
SUBDIR += p5-JSON
SUBDIR += p5-JSON-XS-VersionOneAndTwo
SUBDIR += p5-JSON1
diff --git a/converters/p5-Encoding-FixLatin/Makefile b/converters/p5-Encoding-FixLatin/Makefile
new file mode 100644
index 000000000000..9850b7c10749
--- /dev/null
+++ b/converters/p5-Encoding-FixLatin/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: converters/p5-Encoding-FixLatin
+# Date created: 29 July 2009
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Encoding-FixLatin
+PORTVERSION= 1.01
+CATEGORIES= converters perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= ../../authors/id/G/GR/GRANTM
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Takes mixed encoding input and produces UTF-8 output
+
+PERL_CONFIGURE= yes
+
+MAN1= fix_latin.1
+MAN3= Encoding::FixLatin.3
+
+.include <bsd.port.mk>
diff --git a/converters/p5-Encoding-FixLatin/distinfo b/converters/p5-Encoding-FixLatin/distinfo
new file mode 100644
index 000000000000..c04188febaee
--- /dev/null
+++ b/converters/p5-Encoding-FixLatin/distinfo
@@ -0,0 +1,3 @@
+MD5 (Encoding-FixLatin-1.01.tar.gz) = 6ed212d0868041b27939ac363b8dd432
+SHA256 (Encoding-FixLatin-1.01.tar.gz) = 53fd62c5d565eefa3a71e5656299703deab09526f81116f2a9cb1aa777d6b00b
+SIZE (Encoding-FixLatin-1.01.tar.gz) = 24528
diff --git a/converters/p5-Encoding-FixLatin/pkg-descr b/converters/p5-Encoding-FixLatin/pkg-descr
new file mode 100644
index 000000000000..677dfcc7f061
--- /dev/null
+++ b/converters/p5-Encoding-FixLatin/pkg-descr
@@ -0,0 +1,6 @@
+Most encoding conversion tools take input in one encoding and produce
+output in another encoding. This module takes input which may contain
+characters in more than one encoding and makes a best effort to convert
+them all to UTF-8 output.
+
+WWW: http://search.cpan.org/dist/Encoding-FixLatin/
diff --git a/converters/p5-Encoding-FixLatin/pkg-plist b/converters/p5-Encoding-FixLatin/pkg-plist
new file mode 100644
index 000000000000..c8da4d614275
--- /dev/null
+++ b/converters/p5-Encoding-FixLatin/pkg-plist
@@ -0,0 +1,6 @@
+bin/fix_latin
+%%SITE_PERL%%/Encoding/FixLatin.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encoding/FixLatin/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encoding/FixLatin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encoding
+@dirrmtry %%SITE_PERL%%/Encoding