summaryrefslogtreecommitdiff
path: root/mail/mairix
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2005-01-25 00:19:40 +0000
committersimonb <simonb@pkgsrc.org>2005-01-25 00:19:40 +0000
commit804ab247446092ae51fd313e68bf0e051e6af018 (patch)
tree6a7c1d960de15839e931ea9b0c4772c5010e4f2b /mail/mairix
parent23beb381d15abded2001359fbee94688e7266006 (diff)
downloadpkgsrc-804ab247446092ae51fd313e68bf0e051e6af018.tar.gz
Initial import of mairix, a program for indexing and searching email
messages.
Diffstat (limited to 'mail/mairix')
-rw-r--r--mail/mairix/DESCR22
-rw-r--r--mail/mairix/Makefile37
-rw-r--r--mail/mairix/PLIST4
-rw-r--r--mail/mairix/distinfo4
4 files changed, 67 insertions, 0 deletions
diff --git a/mail/mairix/DESCR b/mail/mairix/DESCR
new file mode 100644
index 00000000000..aeb2bfde15b
--- /dev/null
+++ b/mail/mairix/DESCR
@@ -0,0 +1,22 @@
+mairix is a program for indexing and searching email messages stored in
+Maildir, MH or mbox folders.
+
+* Indexing is fast. It runs incrementally on new messages - any particular
+ message only gets scanned once in the lifetime of the index file.
+
+* The search mode populates a "virtual" folder with symlinks(*) which
+ point to the real messages. This folder can be opened as usual in your mail
+ program.
+
+* The search mode is very fast.
+
+* Indexing and searching works on the basis of words. The index file tabulates
+ which words occur in which parts (particular headers + body) of which
+ messages.
+
+The program is a very useful complement to mail programs like mutt
+(http://www.mutt.org/, which supports Maildir, MH and mbox folders) and
+Sylpheed (which supports MH folders).
+
+[(*) where the input or output folder is an mbox, a copy of the message is made
+instead of symlinking.]
diff --git a/mail/mairix/Makefile b/mail/mairix/Makefile
new file mode 100644
index 00000000000..075fd761aaa
--- /dev/null
+++ b/mail/mairix/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/25 00:19:40 simonb Exp $
+#
+
+DISTNAME= mairix-0.15.1
+CATEGORIES= mail
+MASTER_SITES= http://www.rpcurnow.force9.co.uk/mairix/
+
+MAINTAINER= tech-pkg@NetBSD.ORG
+HOMEPAGE= http://www.rc0.org.uk/mairix/
+COMMENT= Program for indexing and searching email messages
+
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+
+HAS_CONFIGURE= # defined
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+
+USE_MAKEINFO= YES
+INFO_FILES= mairix.info
+
+BINDIR= ${PREFIX}/bin
+INFODIR= ${PREFIX}/info
+HTMLDIR= ${PREFIX}/share/doc/html/mairix
+
+pre-build:
+ @cd ${WRKSRC}; \
+ makeinfo mairix.texi; \
+ ${MAKEINFO} mairix.texi; \
+ ${MAKEINFO} --no-split --number-sections --html \
+ mairix.texi > mairix.html
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/mairix ${BINDIR}
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/mairix.html ${HTMLDIR}
+ ${INSTALL_DATA} ${WRKSRC}/mairix.info ${INFODIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/mairix/PLIST b/mail/mairix/PLIST
new file mode 100644
index 00000000000..e1fecec3ba5
--- /dev/null
+++ b/mail/mairix/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/25 00:19:40 simonb Exp $
+bin/mairix
+share/doc/html/mairix/mairix.html
+@dirrm share/doc/html/mairix
diff --git a/mail/mairix/distinfo b/mail/mairix/distinfo
new file mode 100644
index 00000000000..0514d4df8ab
--- /dev/null
+++ b/mail/mairix/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/25 00:19:40 simonb Exp $
+
+SHA1 (mairix-0.15.1.tar.gz) = 9d832c8e86a80d1c69b39af7c1fa4564c7ed9ce1
+Size (mairix-0.15.1.tar.gz) = 118245 bytes