Add p5-MIME-Lite-HTML 1.21, provide routine to transform a HTML page
into a MIME mail. PR: ports/68249 Submitted by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
This commit is contained in:
parent
518b4773af
commit
1b7ae336c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118926
5 changed files with 55 additions and 0 deletions
|
@ -244,6 +244,7 @@
|
||||||
SUBDIR += p5-IMAP-Sieve
|
SUBDIR += p5-IMAP-Sieve
|
||||||
SUBDIR += p5-Log-Procmail
|
SUBDIR += p5-Log-Procmail
|
||||||
SUBDIR += p5-MIME-Lite
|
SUBDIR += p5-MIME-Lite
|
||||||
|
SUBDIR += p5-MIME-Lite-HTML
|
||||||
SUBDIR += p5-MIME-Tools
|
SUBDIR += p5-MIME-Tools
|
||||||
SUBDIR += p5-MIME-Types
|
SUBDIR += p5-MIME-Types
|
||||||
SUBDIR += p5-Mail-Address-MobileJp
|
SUBDIR += p5-Mail-Address-MobileJp
|
||||||
|
|
26
mail/p5-MIME-Lite-HTML/Makefile
Normal file
26
mail/p5-MIME-Lite-HTML/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# New ports collection makefile for: p5-MIME-Lite-HTML
|
||||||
|
# Date created: 2004-06-23 18:16:13
|
||||||
|
# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= MIME-Lite-HTML
|
||||||
|
PORTVERSION= 1.21
|
||||||
|
CATEGORIES= mail perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= MIME
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= jb.quenot@caraldi.com
|
||||||
|
COMMENT= Provide routine to transform a HTML page into a MIME mail
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||||
|
${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite
|
||||||
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
|
PERL_CONFIGURE= YES
|
||||||
|
|
||||||
|
MAN3= MIME::Lite::HTML.3
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
mail/p5-MIME-Lite-HTML/distinfo
Normal file
2
mail/p5-MIME-Lite-HTML/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (MIME-Lite-HTML-1.21.tar.gz) = 3c0a7045ce8e1fffff24e301c4fc2321
|
||||||
|
SIZE (MIME-Lite-HTML-1.21.tar.gz) = 63121
|
19
mail/p5-MIME-Lite-HTML/pkg-descr
Normal file
19
mail/p5-MIME-Lite-HTML/pkg-descr
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
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://search.cpan.org/dist/MIME-Lite-HTML/
|
7
mail/p5-MIME-Lite-HTML/pkg-plist
Normal file
7
mail/p5-MIME-Lite-HTML/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
%%SITE_PERL%%/MIME/Lite/HTML.pm
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite/HTML/.packlist
|
||||||
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite/HTML
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME/Lite 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MIME 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/MIME/Lite 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/MIME 2>/dev/null || true
|
Loading…
Reference in a new issue