1 # Created by: Oliver Braun <obraun@FreeBSD.org>
2 # $FreeBSD: mail/mairix/Makefile 313635 2013-03-08 11:32:11Z bapt $
9 MAINTAINER= jjuanino@gmail.com
10 COMMENT= Indexing and searching in Maildir, MH, or mbox folders
18 PLIST_FILES= bin/mairix %%EXAMPLESDIR%%/dotmairixrc.eg
19 PLIST_DIRS= %%EXAMPLESDIR%%
21 OPTIONS_DEFINE= GZIP BZIP
22 GZIP_DESC= Enable gzip mbox support
23 BZIP_DESC= Enable bzip2 mbox support
27 .include <bsd.port.options.mk>
29 .if ${PORT_OPTIONS:MGZIP}
30 CONFIGURE_ARGS+= --enable-gzip-mbox
32 CONFIGURE_ARGS+= --disable-gzip-mbox
35 .if ${PORT_OPTIONS:MBZIP}
36 CONFIGURE_ARGS+= --enable-bzip-mbox
38 CONFIGURE_ARGS+= --disable-bzip-mbox
42 ${INSTALL_PROGRAM} ${WRKSRC}/mairix ${PREFIX}/bin
43 ${MKDIR} ${EXAMPLESDIR}
44 ${INSTALL_DATA} ${WRKSRC}/dotmairixrc.eg ${EXAMPLESDIR}
45 ${INSTALL_MAN} ${WRKSRC}/mairix.1 ${PREFIX}/man/man1
46 ${INSTALL_MAN} ${WRKSRC}/mairixrc.5 ${PREFIX}/man/man5
48 .include <bsd.port.mk>