summaryrefslogtreecommitdiff
path: root/mail/nmzmail
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-07-02 11:43:36 +0000
committerrodent <rodent@pkgsrc.org>2013-07-02 11:43:36 +0000
commit6c5c1f324df9210a18916c3280b62e3530c26e77 (patch)
tree8a1d2909f4716ef3a5167f87e5632ab6524bb252 /mail/nmzmail
parent8263304b810bfa027bb8b8932e6d584df5cc03ff (diff)
downloadpkgsrc-6c5c1f324df9210a18916c3280b62e3530c26e77.tar.gz
Import nmzmail-1.1 as mail/nmzmail.
nmzmail is a tool to use the namazu search engine from within the mutt mail client to search mail stored in maildir folders. Based on the result of the namazu query, nmzmail generates a maildir folder containing symbolic links to the mails matching the query. A simple mutt macro makes easy to use nmzmail from within mutt. nmzmail is pretty similar to mairix, but the code is much simpler, as it uses an external program as search engine.
Diffstat (limited to 'mail/nmzmail')
-rw-r--r--mail/nmzmail/DESCR6
-rw-r--r--mail/nmzmail/Makefile24
-rw-r--r--mail/nmzmail/PLIST3
-rw-r--r--mail/nmzmail/distinfo5
4 files changed, 38 insertions, 0 deletions
diff --git a/mail/nmzmail/DESCR b/mail/nmzmail/DESCR
new file mode 100644
index 00000000000..969dc03d6d6
--- /dev/null
+++ b/mail/nmzmail/DESCR
@@ -0,0 +1,6 @@
+nmzmail is a tool to use the namazu search engine from within the mutt mail
+client to search mail stored in maildir folders. Based on the result of the
+namazu query, nmzmail generates a maildir folder containing symbolic links to
+the mails matching the query. A simple mutt macro makes easy to use nmzmail from
+within mutt. nmzmail is pretty similar to mairix, but the code is much simpler,
+as it uses an external program as search engine.
diff --git a/mail/nmzmail/Makefile b/mail/nmzmail/Makefile
new file mode 100644
index 00000000000..e5e20cb6541
--- /dev/null
+++ b/mail/nmzmail/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/07/02 11:43:36 rodent Exp $
+#
+
+DISTNAME= nmzmail-1.1
+CATEGORIES= mail
+MASTER_SITES= http://www.ecademix.com/JohannesHofmann/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://www.ecademix.com/JohannesHofmann/nmzmail.html
+COMMENT= Fast mail searching for mutt
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+
+SUBST_CLASSES+= mknmz
+SUBST_FILES.mknmz= src/nmzmail.c
+SUBST_MESSAGE.mknmz= Fixing mknmz executable path.
+SUBST_STAGE.mknmz= post-configure
+SUBST_SED.mknmz= -e "s|mknmz|${PREFIX}/bin/mknmz|"
+
+DEPENDS+= namazu>=2.0.20:../../textproc/namazu
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/nmzmail/PLIST b/mail/nmzmail/PLIST
new file mode 100644
index 00000000000..c6afa21d627
--- /dev/null
+++ b/mail/nmzmail/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/02 11:43:36 rodent Exp $
+bin/nmzmail
+man/man1/nmzmail.1
diff --git a/mail/nmzmail/distinfo b/mail/nmzmail/distinfo
new file mode 100644
index 00000000000..787e9c6fd19
--- /dev/null
+++ b/mail/nmzmail/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/02 11:43:36 rodent Exp $
+
+SHA1 (nmzmail-1.1.tar.gz) = 94f956a1fd51c4fbff42d6bac57c94de781a39f2
+RMD160 (nmzmail-1.1.tar.gz) = fbca7a1f08f7bfdee116d942fc734093d0d3ce88
+Size (nmzmail-1.1.tar.gz) = 94326 bytes