aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/Makefile1
-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
6 files changed, 47 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index ef46d05dd820..23210467a0a2 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -107,6 +107,7 @@
SUBDIR += mailcrypt
SUBDIR += maildrop
SUBDIR += mailfilter
+ SUBDIR += mailfmt
SUBDIR += mailgraph
SUBDIR += mailman
# SUBDIR += mailman-devel
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