2007-10-27 14:39:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.2 2007/10/27 12:39:58 wiz Exp $
|
Initial import of mail/t-prot-2.4 to the packages collection.
t-prot is a TOFU enhancement for the mutt MUA. It condenses quoted
text into a single line, hides overlong signatures, and other email
sins.
TOFU is an abbreviation which mixes German and English words; it
expands to "text oben, full-quote unten" which means "text above -
full quote below" and describes the style of so many users who let
their mailer or newsreader quote everything of the previous message
and just add some text at the top; obviously they think that quoted
text must not be changed at all. This is quite annoying as it
needlessly sends a lot of data even when it is not required. Some
editing of messages is desired. Please point these people to the page
http://www.river.com/users/share/etiquette/edit.html
t-prot detects, and when demanded hides annoying parts in rfc2822
messages: TOFU, huge quoted blocks, signatures (especially when they
are too long), excessive punktuation, blocks of empty lines, trailing
spaces and tabs. For use inside of MTAs or MDAs it exits with
appropriate libc exit codes, so annoying messages may be bounced
easily.
2007-04-15 23:18:46 +02:00
|
|
|
#
|
|
|
|
|
2007-10-27 14:39:58 +02:00
|
|
|
DISTNAME= t-prot-2.5
|
Initial import of mail/t-prot-2.4 to the packages collection.
t-prot is a TOFU enhancement for the mutt MUA. It condenses quoted
text into a single line, hides overlong signatures, and other email
sins.
TOFU is an abbreviation which mixes German and English words; it
expands to "text oben, full-quote unten" which means "text above -
full quote below" and describes the style of so many users who let
their mailer or newsreader quote everything of the previous message
and just add some text at the top; obviously they think that quoted
text must not be changed at all. This is quite annoying as it
needlessly sends a lot of data even when it is not required. Some
editing of messages is desired. Please point these people to the page
http://www.river.com/users/share/etiquette/edit.html
t-prot detects, and when demanded hides annoying parts in rfc2822
messages: TOFU, huge quoted blocks, signatures (especially when they
are too long), excessive punktuation, blocks of empty lines, trailing
spaces and tabs. For use inside of MTAs or MDAs it exits with
appropriate libc exit codes, so annoying messages may be bounced
easily.
2007-04-15 23:18:46 +02:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.escape.de/users/tolot/mutt/t-prot/downloads/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.escape.de/users/tolot/mutt/t-prot/
|
|
|
|
COMMENT= TOFU enhancement to mutt for condensing quoted text
|
|
|
|
|
|
|
|
DEPENDS+= p5-Getopt-Mixed>=1.10:../../devel/p5-Getopt-Mixed
|
|
|
|
|
|
|
|
REPLACE_PERL+= t-prot
|
|
|
|
|
|
|
|
do-configure do-build:
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${PREFIX}/bin/t-prot
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/t-prot.1 ${PREFIX}/${PKGMANDIR}/man1/t-prot.1
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/t-prot
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/muttrc.t-prot ${PREFIX}/share/doc/t-prot/
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|