1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Add p5-Email-MIME-Attachment-Stripper 1.3, strip the attachments

from a mail.
This commit is contained in:
Lars Thegler 2004-08-29 22:47:35 +00:00
parent 2b5eb8b857
commit abab1efce8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117605
5 changed files with 49 additions and 0 deletions

View File

@ -232,6 +232,7 @@
SUBDIR += p5-Email-LocalDelivery
SUBDIR += p5-Email-LocalDelivery-Ezmlm
SUBDIR += p5-Email-MIME
SUBDIR += p5-Email-MIME-Attachment-Stripper
SUBDIR += p5-Email-MIME-ContentType
SUBDIR += p5-Email-MIME-Encodings
SUBDIR += p5-Email-Simple

View File

@ -0,0 +1,34 @@
# New ports collection makefile for: p5-Email-MIME-Attachment-Stripper
# Date created: 2004-08-30
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Email-MIME-Attachment-Stripper
PORTVERSION= 1.3
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Strip the attachments from a mail
BUILD_DEPENDS= ${SITE_PERL}/Email/MIME.pm:${PORTSDIR}/mail/p5-Email-MIME \
${SITE_PERL}/Email/MIME/Encodings.pm:${PORTSDIR}/mail/p5-Email-MIME-Encodings
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Email::MIME::Attachment::Stripper.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-patch:
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Email-MIME-Attachment-Stripper-1.3.tar.gz) = 0f554d9f0d941425cb36dd463088f812
SIZE (Email-MIME-Attachment-Stripper-1.3.tar.gz) = 14805

View File

@ -0,0 +1,3 @@
Given a Email::MIME object, detach all attachments from the message.
WWW: http://search.cpan.org/dist/Email-MIME-Attachment-Stripper/

View File

@ -0,0 +1,9 @@
%%SITE_PERL%%/Email/MIME/Attachment/Stripper.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/MIME/Attachment/Stripper/.packlist
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/MIME/Attachment/Stripper 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/MIME/Attachment 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/MIME 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Email/MIME/Attachment 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Email/MIME 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Email 2>/dev/null || true