aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/Makefile1
-rw-r--r--mail/regm/Makefile25
-rw-r--r--mail/regm/distinfo1
-rw-r--r--mail/regm/pkg-comment1
-rw-r--r--mail/regm/pkg-descr9
-rw-r--r--mail/regm/pkg-plist1
6 files changed, 38 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index b2756381d34b..026339fd06f0 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -157,6 +157,7 @@
SUBDIR += qpopper
SUBDIR += qtools
SUBDIR += rblcheck
+ SUBDIR += regm
SUBDIR += rftp
SUBDIR += ripmime
SUBDIR += rlytest
diff --git a/mail/regm/Makefile b/mail/regm/Makefile
new file mode 100644
index 000000000000..d520b81aa337
--- /dev/null
+++ b/mail/regm/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: regm
+# Date created: 21 July 2001
+# Whom: Pete Fritchman <petef@databits.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= regm
+PORTVERSION= 1.0
+CATEGORIES= mail python
+MASTER_SITES= http://perso.linuxfr.org/jdumont/regm/
+
+MAINTAINER= petef@databits.net
+
+NO_BUILD= yes
+USE_PYTHON= yes
+
+post-patch:
+ @${PERL} -pi -e 's|^#!/usr/bin/env python|#!${PYTHON_CMD}|' \
+ ${WRKSRC}/regm.py
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/regm.py ${PREFIX}/bin/regm
+
+.include <bsd.port.mk>
diff --git a/mail/regm/distinfo b/mail/regm/distinfo
new file mode 100644
index 000000000000..7fa153039c02
--- /dev/null
+++ b/mail/regm/distinfo
@@ -0,0 +1 @@
+MD5 (regm-1.0.tar.gz) = 6a99788829bb0e21b64b559b88238c5a
diff --git a/mail/regm/pkg-comment b/mail/regm/pkg-comment
new file mode 100644
index 000000000000..9cb2a303d906
--- /dev/null
+++ b/mail/regm/pkg-comment
@@ -0,0 +1 @@
+Extract messages from a mailbox using regular expressions
diff --git a/mail/regm/pkg-descr b/mail/regm/pkg-descr
new file mode 100644
index 000000000000..3948cc9c815c
--- /dev/null
+++ b/mail/regm/pkg-descr
@@ -0,0 +1,9 @@
+regm is a Python script to extract messages from a mbox-style
+mailbox using a regular expression. There are advanced options to
+specify multiple regular expressions, different output formats,
+and more.
+
+WWW: http://perso.linuxfr.org/jdumont/regm/
+
+- Pete
+petef@databits.net
diff --git a/mail/regm/pkg-plist b/mail/regm/pkg-plist
new file mode 100644
index 000000000000..fcf1ce187817
--- /dev/null
+++ b/mail/regm/pkg-plist
@@ -0,0 +1 @@
+bin/regm