From 031491e8e8d131109a66f1b7da1b516515d8b30e Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 14 Sep 2001 22:38:57 +0000 Subject: Add p5-Text-Iconv-1.1 Perl interface to the iconv() function as defined by the Single UNIX Specification. The convert() method converts the encoding of characters in the input string from the fromcode codeset to the tocode codeset, and returns the result. --- converters/p5-Text-Iconv/Makefile | 25 +++++++++++++++++++++++++ converters/p5-Text-Iconv/distinfo | 5 +++++ converters/p5-Text-Iconv/patches/patch-aa | 13 +++++++++++++ converters/p5-Text-Iconv/pkg/DESCR | 4 ++++ converters/p5-Text-Iconv/pkg/PLIST | 1 + 5 files changed, 48 insertions(+) create mode 100644 converters/p5-Text-Iconv/Makefile create mode 100644 converters/p5-Text-Iconv/distinfo create mode 100644 converters/p5-Text-Iconv/patches/patch-aa create mode 100644 converters/p5-Text-Iconv/pkg/DESCR create mode 100644 converters/p5-Text-Iconv/pkg/PLIST (limited to 'converters') diff --git a/converters/p5-Text-Iconv/Makefile b/converters/p5-Text-Iconv/Makefile new file mode 100644 index 00000000000..2ad4eeccb13 --- /dev/null +++ b/converters/p5-Text-Iconv/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/09/14 22:38:57 abs Exp $ +# + +DISTNAME= Text-Iconv-1.1 +PKGNAME= p5-${DISTNAME} +CATEGORIES= converters perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/} + +MAINTAINER= abs@netbsd.org +HOMEPAGE= http://www.linguistik.uni-erlangen.de/~mxp/ +COMMENT= Perl interface to iconv() codeset conversion function + +USE_BUILDLINK_ONLY= #defined + +.include "../../converters/libiconv/buildlink.mk" + +DEPENDS+= libiconv:../../converters/libiconv + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Text/Iconv/.packlist + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/p5-Text-Iconv/distinfo b/converters/p5-Text-Iconv/distinfo new file mode 100644 index 00000000000..429c73625ad --- /dev/null +++ b/converters/p5-Text-Iconv/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/09/14 22:38:57 abs Exp $ + +SHA1 (Text-Iconv-1.1.tar.gz) = a8a81421a33f339bf4466a77b37f9faf79365057 +Size (Text-Iconv-1.1.tar.gz) = 6225 bytes +SHA1 (patch-aa) = 8a3b147e8fcac8982f0e1822e1581fe18c39ad4e diff --git a/converters/p5-Text-Iconv/patches/patch-aa b/converters/p5-Text-Iconv/patches/patch-aa new file mode 100644 index 00000000000..4d4df47e0dc --- /dev/null +++ b/converters/p5-Text-Iconv/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/09/14 22:38:57 abs Exp $ + +--- Makefile.PL.orig Wed Aug 1 17:27:52 2001 ++++ Makefile.PL +@@ -4,7 +4,7 @@ + WriteMakefile( + 'NAME' => 'Text::Iconv', + 'VERSION_FROM' => 'Iconv.pm', # finds $VERSION +- 'LIBS' => [''], # e.g., '-lm' ++ 'LIBS' => ['-liconv'], # e.g., '-lm' + 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' + 'INC' => '', # e.g., '-I/usr/include/other' + 'dist' => {COMPRESS => 'gzip', SUFFIX => 'gz'}, diff --git a/converters/p5-Text-Iconv/pkg/DESCR b/converters/p5-Text-Iconv/pkg/DESCR new file mode 100644 index 00000000000..ff5ec193d11 --- /dev/null +++ b/converters/p5-Text-Iconv/pkg/DESCR @@ -0,0 +1,4 @@ +Perl interface to the iconv() function as defined by the Single +UNIX Specification. The convert() method converts the encoding of +characters in the input string from the fromcode codeset to the +tocode codeset, and returns the result. diff --git a/converters/p5-Text-Iconv/pkg/PLIST b/converters/p5-Text-Iconv/pkg/PLIST new file mode 100644 index 00000000000..dc4a855b5b8 --- /dev/null +++ b/converters/p5-Text-Iconv/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/14 22:38:57 abs Exp $ -- cgit v1.2.3