2013-03-08 11:32:11 +00:00
|
|
|
# Created by: Oliver Braun <obraun@FreeBSD.org>
|
2003-03-27 22:50:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mairix
|
2014-02-12 10:16:07 +00:00
|
|
|
PORTVERSION= 0.23
|
2003-03-27 22:50:24 +00:00
|
|
|
CATEGORIES= mail
|
2009-08-22 00:28:34 +00:00
|
|
|
MASTER_SITES= SF
|
2003-03-27 22:50:24 +00:00
|
|
|
|
2009-02-13 15:17:12 +00:00
|
|
|
MAINTAINER= jjuanino@gmail.com
|
2012-07-25 06:32:06 +00:00
|
|
|
COMMENT= Indexing and searching in Maildir, MH, or mbox folders
|
2003-03-27 22:50:24 +00:00
|
|
|
|
2013-07-27 11:49:20 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USES= bison gmake
|
2004-02-16 08:11:44 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2003-03-27 22:50:24 +00:00
|
|
|
|
2013-07-27 11:49:20 +00:00
|
|
|
PORTDOCS= NEWS README
|
|
|
|
PORTEXAMPLES= dotmairixrc.eg
|
2014-02-12 10:16:07 +00:00
|
|
|
PLIST_FILES= bin/mairix \
|
|
|
|
man/man1/mairix.1.gz \
|
|
|
|
man/man5/mairixrc.5.gz
|
2005-09-16 19:59:36 +00:00
|
|
|
|
2013-07-27 11:49:20 +00:00
|
|
|
OPTIONS_DEFINE= GZIP BZIP2 EXAMPLES DOCS
|
|
|
|
GZIP_DESC= gzip compressed mbox support
|
|
|
|
BZIP2_DESC= bzip2 compressed mbox support
|
2012-07-02 17:50:00 +00:00
|
|
|
|
2013-07-27 11:49:20 +00:00
|
|
|
GZIP_CONFIGURE_ENABLE= gzip-mbox
|
|
|
|
BZIP2_CONFIGURE_ENABLE= bzip-mbox
|
2012-07-02 17:50:00 +00:00
|
|
|
|
2014-02-08 11:38:17 +00:00
|
|
|
# Do not hardcode make(1) binary name
|
2013-07-27 11:49:20 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E 's|cd (.+) ; make|$$(MAKE) -C \1|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2012-07-02 17:50:00 +00:00
|
|
|
|
2003-03-27 22:50:24 +00:00
|
|
|
do-install:
|
2014-02-12 10:16:07 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mairix ${STAGEDIR}/${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/mairix.1 ${STAGEDIR}/${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/mairixrc.5 ${STAGEDIR}/${MANPREFIX}/man/man5
|
|
|
|
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dotmairixrc.eg ${STAGEDIR}/${EXAMPLESDIR}
|
2003-03-27 22:50:24 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|