From 41f93dd4c4e5bfedebf6924ba83e8dea82a2bab6 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 2 Mar 2003 23:05:55 +0000 Subject: Add mailfmt, a python script to format mail or news messages to remove leading quotations and wrap lines to reasonable lengths. PR: 43876 Submitted by: Tim Daneliuk --- mail/mailfmt/Makefile | 27 +++++++++++++++++++++++++++ mail/mailfmt/distinfo | 1 + mail/mailfmt/files/patch-Makefile | 8 ++++++++ mail/mailfmt/pkg-descr | 7 +++++++ mail/mailfmt/pkg-plist | 3 +++ 5 files changed, 46 insertions(+) create mode 100644 mail/mailfmt/Makefile create mode 100644 mail/mailfmt/distinfo create mode 100644 mail/mailfmt/files/patch-Makefile create mode 100644 mail/mailfmt/pkg-descr create mode 100644 mail/mailfmt/pkg-plist (limited to 'mail/mailfmt') diff --git a/mail/mailfmt/Makefile b/mail/mailfmt/Makefile new file mode 100644 index 000000000000..3f53dd9d651b --- /dev/null +++ b/mail/mailfmt/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: mailfmt +# Date Created: 09 October 2002 +# Whom: tundra +# +# $FreeBSD$ +# + +PORTNAME= mailfmt +PORTVERSION= 1.3 +CATEGORIES= mail +MASTER_SITES= http://www.tundraware.com/Software/mailfmt/ + +MAINTAINER= tundra@tundraware.com +COMMENT= Remove leading quotations from mail/news and wrap lines to fixed width + +USE_PYTHON= yes + +MANCOMPRESSED= yes +MAN1= mailfmt.1 + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/mailfmt-license.txt ${DOCSDIR} +.endif + +.include diff --git a/mail/mailfmt/distinfo b/mail/mailfmt/distinfo new file mode 100644 index 000000000000..4a834c5adacb --- /dev/null +++ b/mail/mailfmt/distinfo @@ -0,0 +1 @@ +MD5 (mailfmt-1.3.tar.gz) = 390562e8c3b9d11fc073ed8add0707ec diff --git a/mail/mailfmt/files/patch-Makefile b/mail/mailfmt/files/patch-Makefile new file mode 100644 index 000000000000..609339c9e323 --- /dev/null +++ b/mail/mailfmt/files/patch-Makefile @@ -0,0 +1,8 @@ +--- Makefile.orig Sun Mar 2 15:01:11 2003 ++++ Makefile Sun Mar 2 15:01:18 2003 +@@ -7,4 +7,4 @@ + install -c -o root -g wheel -m 755 ./mailfmt ${PREFIX}/bin + mkdir ${PREFIX}/share/doc/mailfmt + install -c -o root -g wheel -m 644 ./mailfmt.1.gz ${PREFIX}/man/man1 +- install -c -o root -g wheel -m 644 ./mailfmt-license.txt ${PREFIX}/share/doc/mailfmt ++# install -c -o root -g wheel -m 644 ./mailfmt-license.txt ${PREFIX}/share/doc/mailfmt diff --git a/mail/mailfmt/pkg-descr b/mail/mailfmt/pkg-descr new file mode 100644 index 000000000000..c8cb11a9f7a3 --- /dev/null +++ b/mail/mailfmt/pkg-descr @@ -0,0 +1,7 @@ +'mailfmt' is a program to reformat mail and news to remove leading +quotation characters and wrap the lines to a reasonable width. + +You need a reasonably current copy of Python to run the main script. + +- tim +tundra@tundraware.com diff --git a/mail/mailfmt/pkg-plist b/mail/mailfmt/pkg-plist new file mode 100644 index 000000000000..93be07c65226 --- /dev/null +++ b/mail/mailfmt/pkg-plist @@ -0,0 +1,3 @@ +bin/mailfmt +%%PORTDOCS%%share/doc/mailfmt/mailfmt-license.txt +%%PORTDOCS%%@dirrm share/doc/mailfmt -- cgit v1.2.3