aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-31 13:51:33 +0800
committerwill <will@FreeBSD.org>2000-12-31 13:51:33 +0800
commit76ae6282e2e7ab4d8bb608924a7209643b319690 (patch)
tree49a25930e2a4e47f3ca9bd2e1341f09c6913cd8d /converters
parentde8bcbd19391da48ff82747d6db312a1fdedd69e (diff)
downloadfreebsd-ports-gnome-76ae6282e2e7ab4d8bb608924a7209643b319690.tar.gz
freebsd-ports-gnome-76ae6282e2e7ab4d8bb608924a7209643b319690.tar.zst
freebsd-ports-gnome-76ae6282e2e7ab4d8bb608924a7209643b319690.zip
Add p5-Text-Iconv 1.1, a perl interface to iconv().
PR: 23855 Submitted by: Sergey Skvortsov <skv@protey.ru>
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/p5-Text-Iconv/Makefile32
-rw-r--r--converters/p5-Text-Iconv/distinfo1
-rw-r--r--converters/p5-Text-Iconv/pkg-comment1
-rw-r--r--converters/p5-Text-Iconv/pkg-descr1
-rw-r--r--converters/p5-Text-Iconv/pkg-plist8
6 files changed, 44 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index c59a48846616..e73585f566da 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -27,6 +27,7 @@
SUBDIR += p5-Convert-UU
SUBDIR += p5-Convert-UUlib
SUBDIR += p5-MIME-Base64
+ SUBDIR += p5-Text-Iconv
SUBDIR += p5-Unicode-Map8
SUBDIR += p5-Unicode-String
SUBDIR += recode
diff --git a/converters/p5-Text-Iconv/Makefile b/converters/p5-Text-Iconv/Makefile
new file mode 100644
index 000000000000..7cb76dee12d5
--- /dev/null
+++ b/converters/p5-Text-Iconv/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Text::Iconv
+# Date created: 26 Dec 2000
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Iconv
+PORTVERSION= 1.1
+CATEGORIES= converters perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@protey.ru
+
+LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
+
+USE_PERL5= yes
+
+MAN3= Text::Iconv.3
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX} \
+ LIBS="-L${LOCALBASE}/lib -liconv " \
+ INC="-I ${LOCALBASE}/include " \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/converters/p5-Text-Iconv/distinfo b/converters/p5-Text-Iconv/distinfo
new file mode 100644
index 000000000000..b8968f30ada2
--- /dev/null
+++ b/converters/p5-Text-Iconv/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Iconv-1.1.tar.gz) = 17c5da932b61f12d44fa6ca65c1d7775
diff --git a/converters/p5-Text-Iconv/pkg-comment b/converters/p5-Text-Iconv/pkg-comment
new file mode 100644
index 000000000000..3b1c6c5de053
--- /dev/null
+++ b/converters/p5-Text-Iconv/pkg-comment
@@ -0,0 +1 @@
+Perl interface to iconv() codeset conversion function
diff --git a/converters/p5-Text-Iconv/pkg-descr b/converters/p5-Text-Iconv/pkg-descr
new file mode 100644
index 000000000000..8175c1a1f101
--- /dev/null
+++ b/converters/p5-Text-Iconv/pkg-descr
@@ -0,0 +1 @@
+Text::Iconv - Perl interface to iconv() codeset conversion function
diff --git a/converters/p5-Text-Iconv/pkg-plist b/converters/p5-Text-Iconv/pkg-plist
new file mode 100644
index 000000000000..5302781299e5
--- /dev/null
+++ b/converters/p5-Text-Iconv/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Iconv/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Text/Iconv.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Iconv/Iconv.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Iconv/Iconv.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Iconv/autosplit.ix
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Iconv
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true