summaryrefslogtreecommitdiff
path: root/mail/mailfmt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-02 23:05:55 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-02 23:05:55 +0000
commit41f93dd4c4e5bfedebf6924ba83e8dea82a2bab6 (patch)
treef41f6beb833447aaedba1dae7c119f585af6e27a /mail/mailfmt
parent- update to 2.1.6 (diff)
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 <tundra@tundraware.com>
Notes
Notes: svn path=/head/; revision=76765
Diffstat (limited to 'mail/mailfmt')
-rw-r--r--mail/mailfmt/Makefile27
-rw-r--r--mail/mailfmt/distinfo1
-rw-r--r--mail/mailfmt/files/patch-Makefile8
-rw-r--r--mail/mailfmt/pkg-descr7
-rw-r--r--mail/mailfmt/pkg-plist3
5 files changed, 46 insertions, 0 deletions
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 <bsd.port.mk>
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