1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/mail/nmzmail/Makefile
Sunpoet Po-Chuan Hsieh 40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00

40 lines
874 B
Makefile

# Created by: fernan@iib.unsam.edu.ar
# $FreeBSD$
PORTNAME= nmzmail
PORTVERSION= 0.1.3
PORTREVISION= 6
CATEGORIES= mail
MASTER_SITES= http://www.ecademix.com/JohannesHofmann/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast mail searching for mutt
RUN_DEPENDS= namazu:databases/namazu2
GNU_CONFIGURE= yes
USES= gmake readline
PLIST_FILES= bin/nmzmail
PORTDOCS= README NEWS
OPTIONS_DEFINE= DOCS
pre-extract:
.if !defined(MAX_MAIL_DIRS)
@${ECHO_MSG} "You can define MAX_MAIL_DIRS=n."
@${ECHO_MSG} "nmzmail will only process this many mailboxes, the default is 32."
.endif
post-extract:
.if defined(MAX_MAIL_DIRS)
@${REINPLACE_CMD} -e 's/MAX_MAIL_DIRS 32/MAX_MAIL_DIRS ${MAX_MAIL_DIRS}/' \
${WRKSRC}/src/nmzmail.c
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>