aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-29 17:06:13 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-29 17:06:13 +0000
commit134cf2e88b57253a353efa002a191692dd835029 (patch)
treedca6e4c0f77681dabf9caf897b299ead93207b6c /mail
parent3693a0f3aeb1584fb09b5e18797b8d1b3b8aa777 (diff)
downloadports-134cf2e88b57253a353efa002a191692dd835029.tar.gz
ports-134cf2e88b57253a353efa002a191692dd835029.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/mail2procmailrc/Makefile28
-rw-r--r--mail/mail2procmailrc/distinfo1
-rw-r--r--mail/mail2procmailrc/pkg-comment1
-rw-r--r--mail/mail2procmailrc/pkg-descr14
-rw-r--r--mail/mail2procmailrc/pkg-plist2
6 files changed, 47 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index fd79953c7b06..574b991915c2 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -80,6 +80,7 @@
SUBDIR += listmanager
SUBDIR += lmtp2nntp
SUBDIR += mahogany
+ SUBDIR += mail2procmailrc
SUBDIR += mailagent
SUBDIR += mailcrypt
SUBDIR += maildrop
diff --git a/mail/mail2procmailrc/Makefile b/mail/mail2procmailrc/Makefile
new file mode 100644
index 000000000000..556addac6d2a
--- /dev/null
+++ b/mail/mail2procmailrc/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# New ports collection makefile for: mail2procmailrc
+# Date created: Dec 29, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mail2procmailrc
+PORTVERSION= 0.9
+CATEGORIES= mail
+MASTER_SITES= http://www.ghettohack.net/timball/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Curses.pm:${PORTSDIR}/devel/p5-Curses \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Curses/Widgets.pm:${PORTSDIR}/devel/p5-Curses-Widgets \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Header.pm:${PORTSDIR}/mail/p5-Mail-Tools
+
+USE_PERL5= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/generateproc.pl ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/mail2procmail.pl ${PREFIX}/bin/mail2procmail
+
+.include <bsd.port.mk>
diff --git a/mail/mail2procmailrc/distinfo b/mail/mail2procmailrc/distinfo
new file mode 100644
index 000000000000..9eb0644b6fb3
--- /dev/null
+++ b/mail/mail2procmailrc/distinfo
@@ -0,0 +1 @@
+MD5 (mail2procmailrc.tar.gz) = c271bf04fbfdc9c52dd784ce3123871d
diff --git a/mail/mail2procmailrc/pkg-comment b/mail/mail2procmailrc/pkg-comment
new file mode 100644
index 000000000000..d8d6275683a6
--- /dev/null
+++ b/mail/mail2procmailrc/pkg-comment
@@ -0,0 +1 @@
+mail to procmailrc generator
diff --git a/mail/mail2procmailrc/pkg-descr b/mail/mail2procmailrc/pkg-descr
new file mode 100644
index 000000000000..613cd6df15ce
--- /dev/null
+++ b/mail/mail2procmailrc/pkg-descr
@@ -0,0 +1,14 @@
+It's *really* ment to be use from inside mutt... but to use it from a command
+line you can do it like this:
+mail2procmail < some.mail.letter
+
+The needed lines to your muttrc is something like:
+macro pager \Cf "|~/path/to/mail2procmail\n"
+macro pager \Cf ":set pipe_decode\n|~/path/to/mail2procmail\n"
+
+This will binds <ctrl>-f to execute mail2procmail... mail2procmail will
+exec generateproc.pl to generate a file called ~/.procmail/m2proc.rc.
+in your .procmailrc you should have something like
+"INCLUDERC=~/.procmail/m2proc.rc" and everything should work.
+
+WWW: http://www.ghettohack.net/timball/
diff --git a/mail/mail2procmailrc/pkg-plist b/mail/mail2procmailrc/pkg-plist
new file mode 100644
index 000000000000..02306c460fae
--- /dev/null
+++ b/mail/mail2procmailrc/pkg-plist
@@ -0,0 +1,2 @@
+bin/generateproc.pl
+bin/mail2procmail