aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-10 01:26:05 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-10 01:26:05 +0000
commitf016f4464187908820927ba9fc978342c78fde69 (patch)
tree209f2b0bffa1c36bfcc6148635d8884e7836fdfe /converters
parent914427ecc8ab10b7ef27002d0ed3f4d5d5c5c12b (diff)
downloadports-f016f4464187908820927ba9fc978342c78fde69.tar.gz
ports-f016f4464187908820927ba9fc978342c78fde69.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/p5-Encode-Detect/Makefile29
-rw-r--r--converters/p5-Encode-Detect/distinfo3
-rw-r--r--converters/p5-Encode-Detect/pkg-descr10
-rw-r--r--converters/p5-Encode-Detect/pkg-plist10
5 files changed, 53 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 3820628f894e..6030587f57dc 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -51,6 +51,7 @@
SUBDIR += p5-Convert-UUlib
SUBDIR += p5-Cstools
SUBDIR += p5-Encode
+ SUBDIR += p5-Encode-Detect
SUBDIR += p5-Encode-JIS2K
SUBDIR += p5-Encode-compat
SUBDIR += p5-JSON
diff --git a/converters/p5-Encode-Detect/Makefile b/converters/p5-Encode-Detect/Makefile
new file mode 100644
index 000000000000..7bc761a28fb4
--- /dev/null
+++ b/converters/p5-Encode-Detect/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: p5-Encode-Detect
+# Date created: 2006-07-10
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Encode-Detect
+PORTVERSION= 0.01
+CATEGORIES= converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Encode
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= An Encode::Encoding subclass that detects the encoding of data
+
+PERL_MODBUILD= yes
+
+MAN3= Encode::Detect.3 Encode::Detect::Detector.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Encode.pm:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/converters/p5-Encode-Detect/distinfo b/converters/p5-Encode-Detect/distinfo
new file mode 100644
index 000000000000..e29595ae6897
--- /dev/null
+++ b/converters/p5-Encode-Detect/distinfo
@@ -0,0 +1,3 @@
+MD5 (Encode-Detect-0.01.tar.gz) = fa8457f635ab654eb7717f772d059615
+SHA256 (Encode-Detect-0.01.tar.gz) = 447724b1e05c3c14ec11e5381d3ba903dccb74273cd2ce2634b6d62356c54d9c
+SIZE (Encode-Detect-0.01.tar.gz) = 175277
diff --git a/converters/p5-Encode-Detect/pkg-descr b/converters/p5-Encode-Detect/pkg-descr
new file mode 100644
index 000000000000..7c8a54ec4374
--- /dev/null
+++ b/converters/p5-Encode-Detect/pkg-descr
@@ -0,0 +1,10 @@
+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.
+
+Author: John Gardiner Myers <jgmyers@proofpoint.com>
+WWW: http://search.cpan.org/dist/Encode-Detect/
diff --git a/converters/p5-Encode-Detect/pkg-plist b/converters/p5-Encode-Detect/pkg-plist
new file mode 100644
index 000000000000..49721eb4f6f8
--- /dev/null
+++ b/converters/p5-Encode-Detect/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/Encode/Detect.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Encode/Detect/Detector.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Detect/Detector/Detector.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Detect/Detector/Detector.so
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Encode/Detect
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Encode
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Detect/Detector
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Detect
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode