cb037d3c98
- Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoine
40 lines
874 B
Makefile
40 lines
874 B
Makefile
# Created by: fernan@iib.unsam.edu.ar
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nmzmail
|
|
PORTVERSION= 0.1.3
|
|
PORTREVISION= 5
|
|
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>
|