diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-12-30 01:06:13 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-12-30 01:06:13 +0800 |
commit | 9f8628b38351eed758ab24e2b17b9b7ed9d3a490 (patch) | |
tree | 421104ad34de1352032b556f186f0a59f1117880 /mail | |
parent | 2a2f9b9beceda4b23bc465fe79534487690ead1f (diff) | |
download | freebsd-ports-gnome-9f8628b38351eed758ab24e2b17b9b7ed9d3a490.tar.gz freebsd-ports-gnome-9f8628b38351eed758ab24e2b17b9b7ed9d3a490.tar.zst freebsd-ports-gnome-9f8628b38351eed758ab24e2b17b9b7ed9d3a490.zip |
add mail2procmailrc 0.9
mail to procmailrc generator
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/mail2procmailrc/Makefile | 28 | ||||
-rw-r--r-- | mail/mail2procmailrc/distinfo | 1 | ||||
-rw-r--r-- | mail/mail2procmailrc/pkg-comment | 1 | ||||
-rw-r--r-- | mail/mail2procmailrc/pkg-descr | 14 | ||||
-rw-r--r-- | mail/mail2procmailrc/pkg-plist | 2 |
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 |