pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-Encode-Detect Initial import of p5-Encode-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38973f09ed53
branches:  trunk
changeset: 527112:38973f09ed53
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Mar 24 19:53:11 2007 +0000

description:
Initial import of p5-Encode-Detect 1.0 from pkgsrc-wip.

The package was created by Hiramatsu Yoshifumi, with some very small changes
by me:
  - different wording in COMMENT
  - BUILD_DEPENDS instead of DEPENDS. The required version of
    p5-ExtUtils-CBuilder is not specified in Build.PL, so I left it that way.
  - Added USE_LANGUAGES.

=====================================
This Perl module is an Encode::Encoding subclass that uses
Encode::Detect::Detector to determine the charset of the input data
and then decodes it using the encoder of the detected charset.

It is similar to Encode::Guess, but does not require the configuration
of a set of expected encodings. Like Encode::Guess, it only supports
decoding--it cannot encode.

diffstat:

 textproc/p5-Encode-Detect/DESCR    |   7 +++++++
 textproc/p5-Encode-Detect/Makefile |  23 +++++++++++++++++++++++
 textproc/p5-Encode-Detect/PLIST    |   1 +
 textproc/p5-Encode-Detect/distinfo |   5 +++++
 4 files changed, 36 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r 483054fd5395 -r 38973f09ed53 textproc/p5-Encode-Detect/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Encode-Detect/DESCR   Sat Mar 24 19:53:11 2007 +0000
@@ -0,0 +1,7 @@
+This Perl module is an Encode::Encoding subclass that uses
+Encode::Detect::Detector to determine the charset of the input data and
+then decodes it using the encoder of the detected charset.
+
+It is similar to Encode::Guess, but does not require the configuration
+of a set of expected encodings. Like Encode::Guess, it only supports
+decoding--it cannot encode.
diff -r 483054fd5395 -r 38973f09ed53 textproc/p5-Encode-Detect/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Encode-Detect/Makefile        Sat Mar 24 19:53:11 2007 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/03/24 19:53:11 heinz Exp $
+#
+
+DISTNAME=              Encode-Detect-1.00
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            textproc perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Encode/}
+
+MAINTAINER=            hiramatu%boreas.dti.ne.jp@localhost
+HOMEPAGE=              http://search.cpan.org/dist/Encode-Detect/
+COMMENT=               Perl module that detects the encoding of data
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+BUILD_DEPENDS+=                p5-ExtUtils-CBuilder-[0-9]*:../../devel/p5-ExtUtils-CBuilder
+
+USE_LANGUAGES+=                c c++
+
+PERL5_PACKLIST=                auto/Encode/Detect/.packlist
+PERL5_MODULE_TYPE=     Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 483054fd5395 -r 38973f09ed53 textproc/p5-Encode-Detect/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Encode-Detect/PLIST   Sat Mar 24 19:53:11 2007 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/24 19:53:11 heinz Exp $
diff -r 483054fd5395 -r 38973f09ed53 textproc/p5-Encode-Detect/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Encode-Detect/distinfo        Sat Mar 24 19:53:11 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/03/24 19:53:11 heinz Exp $
+
+SHA1 (Encode-Detect-1.00.tar.gz) = 79b51d623e4a3a3b7d6583dfc5c3ec324fd98077
+RMD160 (Encode-Detect-1.00.tar.gz) = 726113dc727d4a66d1ce584e5fba96f0accafdc7
+Size (Encode-Detect-1.00.tar.gz) = 179575 bytes



Home | Main Index | Thread Index | Old Index