summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-09-14 22:38:57 +0000
committerabs <abs@pkgsrc.org>2001-09-14 22:38:57 +0000
commit08f17368d4cc1644f4ab60cc150d8f4ddbd03787 (patch)
tree367487244dabddd15baa2a323ccc0a01b2d0822a /converters
parente2ce0b01da156d2d19411cf9eacf5475ae779cc2 (diff)
downloadpkgsrc-08f17368d4cc1644f4ab60cc150d8f4ddbd03787.tar.gz
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.
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-Text-Iconv/Makefile25
-rw-r--r--converters/p5-Text-Iconv/distinfo5
-rw-r--r--converters/p5-Text-Iconv/patches/patch-aa13
-rw-r--r--converters/p5-Text-Iconv/pkg/DESCR4
-rw-r--r--converters/p5-Text-Iconv/pkg/PLIST1
5 files changed, 48 insertions, 0 deletions
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 $