From 80da2adf578ff4b1a8f3a8897ee93b0ded096d36 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 5 Aug 2009 09:10:54 +0000 Subject: [PATCH] MARC::Charset allows you to turn MARC-8 encoded strings into UTF-8 strings. MARC-8 is a single byte character encoding that predates unicode, and allows you to put non-Roman scripts in MARC bibliographic records. WWW: http://search.cpan.org/dist/MARC-Charset PR: ports/137433 Submitted by: Wen Heping --- textproc/Makefile | 1 + textproc/p5-MARC-Charset/Makefile | 28 ++++++++++++++++++++++++++++ textproc/p5-MARC-Charset/distinfo | 3 +++ textproc/p5-MARC-Charset/pkg-descr | 6 ++++++ textproc/p5-MARC-Charset/pkg-plist | 10 ++++++++++ 5 files changed, 48 insertions(+) create mode 100644 textproc/p5-MARC-Charset/Makefile create mode 100644 textproc/p5-MARC-Charset/distinfo create mode 100644 textproc/p5-MARC-Charset/pkg-descr create mode 100644 textproc/p5-MARC-Charset/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 2378e97b9ebf..55843344cf0b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -491,6 +491,7 @@ SUBDIR += p5-Lingua-Treebank SUBDIR += p5-Lucene SUBDIR += p5-MARC + SUBDIR += p5-MARC-Charset SUBDIR += p5-MARC-Lint SUBDIR += p5-MARC-Record SUBDIR += p5-MKDoc-XML diff --git a/textproc/p5-MARC-Charset/Makefile b/textproc/p5-MARC-Charset/Makefile new file mode 100644 index 000000000000..9521ea971129 --- /dev/null +++ b/textproc/p5-MARC-Charset/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: p5-MARC-Charset +# Date created: 1st August, 2009 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= MARC-Charset +PORTVERSION= 1.1 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= wenheping@gmail.com +COMMENT= Convert MARC-8 encoded strings to UTF-8 + +RUN_DEPENDS= p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \ + p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor + +PERL_CONFIGURE= yes + +MAN3= MARC::Charset.3 \ + MARC::Charset::Constants.3 \ + MARC::Charset::Code.3 \ + MARC::Charset::Compiler.3 \ + MARC::Charset::Table.3 + +.include diff --git a/textproc/p5-MARC-Charset/distinfo b/textproc/p5-MARC-Charset/distinfo new file mode 100644 index 000000000000..0441d211a049 --- /dev/null +++ b/textproc/p5-MARC-Charset/distinfo @@ -0,0 +1,3 @@ +MD5 (MARC-Charset-1.1.tar.gz) = 49a99e248c532d3ade28dece36f2a941 +SHA256 (MARC-Charset-1.1.tar.gz) = eeca3e7227103da62f33e88eb6f1519afa78cdabd5e08dac7f42d3d68ae6932e +SIZE (MARC-Charset-1.1.tar.gz) = 190134 diff --git a/textproc/p5-MARC-Charset/pkg-descr b/textproc/p5-MARC-Charset/pkg-descr new file mode 100644 index 000000000000..105f35bea741 --- /dev/null +++ b/textproc/p5-MARC-Charset/pkg-descr @@ -0,0 +1,6 @@ +MARC::Charset allows you to turn MARC-8 encoded strings into UTF-8 +strings. MARC-8 is a single byte character encoding that predates +unicode, and allows you to put non-Roman scripts in MARC bibliographic +records. + +WWW: http://search.cpan.org/dist/MARC-Charset diff --git a/textproc/p5-MARC-Charset/pkg-plist b/textproc/p5-MARC-Charset/pkg-plist new file mode 100644 index 000000000000..69cbf73cf7c1 --- /dev/null +++ b/textproc/p5-MARC-Charset/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/MARC/Charset.pm +%%SITE_PERL%%/MARC/Charset/Code.pm +%%SITE_PERL%%/MARC/Charset/Constants.pm +%%SITE_PERL%%/MARC/Charset/Compiler.pm +%%SITE_PERL%%/MARC/Charset/Table.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MARC/Charset/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MARC/Charset +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MARC +@dirrm %%SITE_PERL%%/MARC/Charset +@dirrmtry %%SITE_PERL%%/MARC