summaryrefslogtreecommitdiff
path: root/textproc/p5-Encode-Detect
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-03-24 19:53:11 +0000
committerheinz <heinz@pkgsrc.org>2007-03-24 19:53:11 +0000
commit2ebc14f6cb99e23e10e829921ae9bd795f59b3e9 (patch)
treec2aef1b79273b052f5e06885e1a8fae2a71776f2 /textproc/p5-Encode-Detect
parent215300ded02fd522a266a849d8a8610e2dcd3f7d (diff)
downloadpkgsrc-2ebc14f6cb99e23e10e829921ae9bd795f59b3e9.tar.gz
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 (limited to 'textproc/p5-Encode-Detect')
-rw-r--r--textproc/p5-Encode-Detect/DESCR7
-rw-r--r--textproc/p5-Encode-Detect/Makefile23
-rw-r--r--textproc/p5-Encode-Detect/PLIST1
-rw-r--r--textproc/p5-Encode-Detect/distinfo5
4 files changed, 36 insertions, 0 deletions
diff --git a/textproc/p5-Encode-Detect/DESCR b/textproc/p5-Encode-Detect/DESCR
new file mode 100644
index 00000000000..9607f7f1167
--- /dev/null
+++ b/textproc/p5-Encode-Detect/DESCR
@@ -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 --git a/textproc/p5-Encode-Detect/Makefile b/textproc/p5-Encode-Detect/Makefile
new file mode 100644
index 00000000000..4af76ca45d7
--- /dev/null
+++ b/textproc/p5-Encode-Detect/Makefile
@@ -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
+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 --git a/textproc/p5-Encode-Detect/PLIST b/textproc/p5-Encode-Detect/PLIST
new file mode 100644
index 00000000000..086502f1e70
--- /dev/null
+++ b/textproc/p5-Encode-Detect/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/24 19:53:11 heinz Exp $
diff --git a/textproc/p5-Encode-Detect/distinfo b/textproc/p5-Encode-Detect/distinfo
new file mode 100644
index 00000000000..e6ff41d4d37
--- /dev/null
+++ b/textproc/p5-Encode-Detect/distinfo
@@ -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