From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 23 18:00:48 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 092B816A4D0 for ; Wed, 23 Jun 2004 18:00:48 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEF3743D49 for ; Wed, 23 Jun 2004 18:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5NI0lMc074227 for ; Wed, 23 Jun 2004 18:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5NI0llV074225; Wed, 23 Jun 2004 18:00:47 GMT (envelope-from gnats) Resent-Date: Wed, 23 Jun 2004 18:00:47 GMT Resent-Message-Id: <200406231800.i5NI0llV074225@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean-Baptiste Quenot Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C43F16A4CF for ; Wed, 23 Jun 2004 18:00:20 +0000 (GMT) Received: from oxyd.caraldi.com (caraldi.com [195.137.249.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id E230543D31 for ; Wed, 23 Jun 2004 18:00:19 +0000 (GMT) (envelope-from jbq@anyware-tech.com) Received: from anyware12.anyware (services.modicon.com [81.56.241.65]) by oxyd.caraldi.com (Postfix) with ESMTP id 597772067 for ; Wed, 23 Jun 2004 20:00:18 +0200 (CEST) Received: by anyware12.anyware (Postfix, from userid 615) id CB1FD6646; Wed, 23 Jun 2004 20:00:17 +0200 (CEST) Message-Id: <20040623180017.CB1FD6646@anyware12.anyware> Date: Wed, 23 Jun 2004 20:00:17 +0200 (CEST) From: Jean-Baptiste Quenot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68249: New port: mail/p5-MIME-Lite: Provide routine to transform HTML to MIME X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 18:00:48 -0000 >Number: 68249 >Category: ports >Synopsis: New port: mail/p5-MIME-Lite: Provide routine to transform HTML to MIME >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 23 18:00:47 GMT 2004 >Closed-Date: >Last-Modified: >Originator: jbq >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD anyware12.anyware 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Mar 26 17:43:44 CET 2004 jbq@anyware12.anyware:/usr/obj/usr/src/sys/ANYWARE12 i386 >Description: This module is a Perl mail client interface for sending message that support HTML format and build them for you.. This module provide routine to transform a HTML page in MIME::Lite mail. The job done is: * Get the file (LWP) if needed * Parse page to find include images (gif, jpg, flash) * Attach them to mail with adequat header if asked (default) * Include external CSS,Javascript file * Replace relative url with absolute one * Build the final MIME-Lite object with each part found Did you already see link like "Send this page to a friend" ?. With this module, you can do script that to this in 3 lines. It can be used too in a HTML newsletter. You make a classic HTML page, and give just url to MIME::Lite::HTML. WWW: http://www.alianwebserver.com/informatique/languages/perl/MIME/Lite/HTML.html >How-To-Repeat: >Fix: # 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-MIME-Lite-HTML # p5-MIME-Lite-HTML/pkg-descr # p5-MIME-Lite-HTML/distinfo # p5-MIME-Lite-HTML/pkg-plist # p5-MIME-Lite-HTML/Makefile # echo c - p5-MIME-Lite-HTML mkdir -p p5-MIME-Lite-HTML > /dev/null 2>&1 echo x - p5-MIME-Lite-HTML/pkg-descr sed 's/^X//' >p5-MIME-Lite-HTML/pkg-descr << 'END-of-p5-MIME-Lite-HTML/pkg-descr' XThis module is a Perl mail client interface for sending message that support XHTML format and build them for you.. This module provide routine to transform a XHTML page in MIME::Lite mail. X XThe job done is: X X * Get the file (LWP) if needed X * Parse page to find include images (gif, jpg, flash) X * Attach them to mail with adequat header if asked (default) X * Include external CSS,Javascript file X * Replace relative url with absolute one X * Build the final MIME-Lite object with each part found X XDid you already see link like "Send this page to a friend" ?. With this module, Xyou can do script that to this in 3 lines. It can be used too in a HTML Xnewsletter. You make a classic HTML page, and give just url to XMIME::Lite::HTML. X XWWW: http://www.alianwebserver.com/informatique/languages/perl/MIME/Lite/HTML.html END-of-p5-MIME-Lite-HTML/pkg-descr echo x - p5-MIME-Lite-HTML/distinfo sed 's/^X//' >p5-MIME-Lite-HTML/distinfo << 'END-of-p5-MIME-Lite-HTML/distinfo' XMD5 (MIME-Lite-HTML-1.18.tar.gz) = 6ce0ac2a2860847c3ebf20b225a4fb22 XSIZE (MIME-Lite-HTML-1.18.tar.gz) = 30096 END-of-p5-MIME-Lite-HTML/distinfo echo x - p5-MIME-Lite-HTML/pkg-plist sed 's/^X//' >p5-MIME-Lite-HTML/pkg-plist << 'END-of-p5-MIME-Lite-HTML/pkg-plist' X%%SITE_PERL%%/MIME/Lite/HTML.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite/HTML/.packlist X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite/HTML 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/MIME/Lite/HTML 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/MIME/Lite 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/MIME 2>/dev/null || true END-of-p5-MIME-Lite-HTML/pkg-plist echo x - p5-MIME-Lite-HTML/Makefile sed 's/^X//' >p5-MIME-Lite-HTML/Makefile << 'END-of-p5-MIME-Lite-HTML/Makefile' X# New ports collection makefile for: p5-MIME-Lite-HTML X# Date created: 2004-06-23 18:16:13 X# Whom: Jean-Baptiste Quenot X# X# $FreeBSD$ X# X XPORTNAME= MIME-Lite-HTML XPORTVERSION= 1.18 XCATEGORIES= mail perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= MIME XPKGNAMEPREFIX= p5- X XMAINTAINER= jb.quenot@caraldi.com XCOMMENT= Provide routine to transform a HTML page in a MIME-Lite mail X XBUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple XRUN_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple X XPERL_CONFIGURE= YES X XMAN3= MIME::Lite::HTML.3 X X.include END-of-p5-MIME-Lite-HTML/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: