import 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 it 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.
This commit is contained in:
sthen 2009-08-14 00:02:10 +00:00
parent a8faa8834d
commit df3f6cbd7e
5 changed files with 57 additions and 0 deletions

28
mail/nmzmail/Makefile Normal file
View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/14 00:02:10 sthen Exp $
COMMENT= fast maildir search engine
DISTNAME= nmzmail-1.1
CATEGORIES= mail textproc
HOMEPAGE= http://www.ecademix.com/JohannesHofmann/nmzmail.html
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c readline termcap
MASTER_SITES= ${HOMEPAGE:nmzmail.html=}
BUILD_DEPENDS= ::textproc/namazu
RUN_DEPENDS= ${BUILD_DEPENDS}
# should be 2.63
AUTOCONF_VERSION=2.61
CONFIGURE_STYLE=gnu autoconf
.include <bsd.port.mk>

5
mail/nmzmail/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (nmzmail-1.1.tar.gz) = 0Enz1U5O93pYKhbjPXrVYA==
RMD160 (nmzmail-1.1.tar.gz) = +8p6Hwj3v97hFtlC/HNAk9DTzog=
SHA1 (nmzmail-1.1.tar.gz) = lPlWof1RxPv/Qta6xXyU3ngaOfI=
SHA256 (nmzmail-1.1.tar.gz) = XP3cibTpnIoyDV22VdMVPjW8RFXwfIPxl4gRR3cFxCg=
SIZE (nmzmail-1.1.tar.gz) = 94326

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-configure_ac,v 1.1.1.1 2009/08/14 00:02:10 sthen Exp $
--- configure.ac.orig Mon Apr 20 07:10:12 2009
+++ configure.ac Thu Aug 13 16:04:17 2009
@@ -37,7 +37,8 @@ AC_CHECK_FUNCS([dup2 setenv strchr strdup strrchr strs
# Check for readline
AC_CHECK_HEADERS([readline/readline.h], [], [echo "Error: readline headers not found."; exit 1;])
-AC_CHECK_LIB([readline], [open], [], [echo "Error: libreadline.so not found."; exit 1;])
+AC_SEARCH_LIBS(tgetent, termcap terminfo termlib)
+AC_CHECK_LIB([readline], [open], [], [echo "Error: libreadline.so not found."; exit 1;])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

8
mail/nmzmail/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
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 it 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.

3
mail/nmzmail/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/08/14 00:02:10 sthen Exp $
@bin bin/nmzmail
@man man/man1/nmzmail.1