ports/68249: New port: mail/p5-MIME-Lite: Provide routine to transform HTML to MIME
Jean-Baptiste Quenot
jb.quenot at caraldi.com
Wed Jun 23 18:00:48 UTC 2004
>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 at 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 at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite/HTML 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/MIME/Lite/HTML 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/MIME/Lite 2>/dev/null || true
X at 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 <jb.quenot at caraldi.com>
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 at 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 <bsd.port.mk>
END-of-p5-MIME-Lite-HTML/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list