aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Email-MIME-Encodings
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-09-24 19:03:02 +0800
committererwin <erwin@FreeBSD.org>2003-09-24 19:03:02 +0800
commit23579fb7417a061de51f7b1aaf26f13459a9eda3 (patch)
tree11ba230a5f7ec6b343127ca1a423cc585fdb2d5b /mail/p5-Email-MIME-Encodings
parent10d4ddac7df9aa8e85a9ff33246758f7e00c112f (diff)
downloadfreebsd-ports-gnome-23579fb7417a061de51f7b1aaf26f13459a9eda3.tar.gz
freebsd-ports-gnome-23579fb7417a061de51f7b1aaf26f13459a9eda3.tar.zst
freebsd-ports-gnome-23579fb7417a061de51f7b1aaf26f13459a9eda3.zip
Add p5-Email-MIME-Encodings 1.0,
a unified interface to MIME encoding and decoding. PR: 56576 Submitted by: Lars Thegler <lars@thegler.dk>
Diffstat (limited to 'mail/p5-Email-MIME-Encodings')
-rw-r--r--mail/p5-Email-MIME-Encodings/Makefile30
-rw-r--r--mail/p5-Email-MIME-Encodings/distinfo1
-rw-r--r--mail/p5-Email-MIME-Encodings/pkg-descr5
-rw-r--r--mail/p5-Email-MIME-Encodings/pkg-plist8
4 files changed, 44 insertions, 0 deletions
diff --git a/mail/p5-Email-MIME-Encodings/Makefile b/mail/p5-Email-MIME-Encodings/Makefile
new file mode 100644
index 000000000000..7965d1de155a
--- /dev/null
+++ b/mail/p5-Email-MIME-Encodings/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-Email-MIME-Encodings
+# Date created: September 7 2003
+# Whom: Lars Thegler <lars@thegler.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Email-MIME-Encodings
+PORTVERSION= 1.0
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Email
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@thegler.dk
+COMMENT= A unified interface to MIME encoding and decoding
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Email::MIME::Encodings.3
+
+post-patch:
+ ${PERL} -pi -e '$$_="" if /use warnings/;' ${WRKSRC}/Encodings.pm
+test:
+ cd ${WRKSRC} ; make test
+
+.include <bsd.port.mk>
diff --git a/mail/p5-Email-MIME-Encodings/distinfo b/mail/p5-Email-MIME-Encodings/distinfo
new file mode 100644
index 000000000000..d5ac5d2965fc
--- /dev/null
+++ b/mail/p5-Email-MIME-Encodings/distinfo
@@ -0,0 +1 @@
+MD5 (Email-MIME-Encodings-1.0.tar.gz) = 331da19650f18643119c85d230f1401f
diff --git a/mail/p5-Email-MIME-Encodings/pkg-descr b/mail/p5-Email-MIME-Encodings/pkg-descr
new file mode 100644
index 000000000000..5680af613b12
--- /dev/null
+++ b/mail/p5-Email-MIME-Encodings/pkg-descr
@@ -0,0 +1,5 @@
+This module simply wraps MIME::Base64 and MIME::QuotedPrint so that you
+can throw the contents of a Content-Transfer-Encoding header at some
+text and have the right thing happen.
+
+WWW: http://search.cpan.org/dist/Email-MIME-Encodings
diff --git a/mail/p5-Email-MIME-Encodings/pkg-plist b/mail/p5-Email-MIME-Encodings/pkg-plist
new file mode 100644
index 000000000000..3e2fe541cac6
--- /dev/null
+++ b/mail/p5-Email-MIME-Encodings/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Email/MIME/Encodings.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/MIME/Encodings/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Email/MIME/Encodings
+@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/Encodings 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