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.
This commit is contained in:
Anton Berezin 2009-07-29 10:12:51 +00:00
parent f698f35ece
commit b5b29b2359
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238610
5 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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/

View File

@ -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