Date: Mon, 14 Apr 2003 08:44:37 +0200 (CEST) From: Erwin Lansing <erwin@lansing.dk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: edwin@FreeBSD.org Subject: ports/50926: new port: p5-Encode-compat, Encode.pm compatibility for perl 5.6.1 Message-ID: <200304140644.h3E6ib2K003982@lemur.droso.net> Resent-Message-ID: <200304140650.h3E6oEUt021634@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50926 >Category: ports >Synopsis: new port: p5-Encode-compat, Encode.pm compatibility for perl 5.6.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 23:50:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Erwin Lansing >Release: FreeBSD 4.8-STABLE i386 >Organization: pil.dk >Environment: System: FreeBSD lemur.droso.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Apr 5 16:37:20 CEST 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386 >Description: new port of Encode::compat This module provide a compatibility layer for Encode.pm users on perl versions earlier than v5.7.1. It translates whatever call it receives into Text::Iconv, or (in the future) Unicode::MapUTF8 to perform the actual work. Currently, this module only support 5.6.1, and merely provides the three utility function above (encode(), decode() and from_to()), with a very kludgy FB_HTMLCREF fallback against latin-1 in from_to(). WWW: http://search.cpan.org/dist/Encode-compat/ >How-To-Repeat: >Fix: --- p5-Encode-compat.sh begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Encode-compat/ # p5-Encode-compat/Makefile # p5-Encode-compat/pkg-plist # p5-Encode-compat/distinfo # p5-Encode-compat/pkg-descr # echo c - p5-Encode-compat/ mkdir -p p5-Encode-compat/ > /dev/null 2>&1 echo x - p5-Encode-compat/Makefile sed 's/^X//' >p5-Encode-compat/Makefile << 'END-of-p5-Encode-compat/Makefile' X# New ports collection makefile for: p5-Encode-compat X# Date created: Mon April 14th, 2003 X# Whom: Erwin Lansing <erwin@lansing.dk> X# X# $FreeBSD$ X# X XPORTNAME= Encode-compat XPORTVERSION= 0.05 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Encode XPKGNAMEPREFIX= p5- X XMAINTAINER= erwin@lansing.dk XCOMMENT= Compatibility interfaces for Encode.pm on Perl < 5.7.1 X XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Encode::compat.3 Encode::compat::Alias.3 X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} != 500601 XIGNORE= This module only support perl 5.6.1 X.endif X X.include <bsd.port.post.mk> END-of-p5-Encode-compat/Makefile echo x - p5-Encode-compat/pkg-plist sed 's/^X//' >p5-Encode-compat/pkg-plist << 'END-of-p5-Encode-compat/pkg-plist' X%%SITE_PERL%%/mach/auto/Encode/compat/.packlist X%%SITE_PERL%%/Encode/compat.pm X%%SITE_PERL%%/Encode/compat/5006001.pm X%%SITE_PERL%%/Encode/compat/common.pm X%%SITE_PERL%%/Encode/compat/Alias.pm X@dirrm %%SITE_PERL%%/mach/auto/Encode/compat X@unexec rmdir %D/%%SITE_PERL%%/mach/auto/Encode 2>/dev/null || true X@dirrm %%SITE_PERL%%/Encode/compat X@unexec rmdir %D/%%SITE_PERL%%/Encode 2>/dev/null || true END-of-p5-Encode-compat/pkg-plist echo x - p5-Encode-compat/distinfo sed 's/^X//' >p5-Encode-compat/distinfo << 'END-of-p5-Encode-compat/distinfo' XMD5 (Encode-compat-0.05.tar.gz) = 3b2b8c26ea486f656a5d4e79ebd873ae END-of-p5-Encode-compat/distinfo echo x - p5-Encode-compat/pkg-descr sed 's/^X//' >p5-Encode-compat/pkg-descr << 'END-of-p5-Encode-compat/pkg-descr' XThis module provide a compatibility layer for Encode.pm users Xon perl versions earlier than v5.7.1. It translates whatever Xcall it receives into Text::Iconv, or (in the future) XUnicode::MapUTF8 to perform the actual work. X XCurrently, this module only support 5.6.1, and merely provides Xthe three utility function above (encode(), decode() and from_to()), Xwith a very kludgy FB_HTMLCREF fallback against latin-1 in from_to(). X X XWWW: http://search.cpan.org/dist/Encode-compat/ END-of-p5-Encode-compat/pkg-descr exit --- p5-Encode-compat.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304140644.h3E6ib2K003982>