2005-04-11 20:28:44 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection Makefile for: nmzmail
|
|
|
|
# Date created: 7 January 2005
|
|
|
|
# Whom: fernan@iib.unsam.edu.ar
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nmzmail
|
2005-07-25 20:03:32 +00:00
|
|
|
PORTVERSION= 0.1.3
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 3
|
2005-04-11 20:28:44 +00:00
|
|
|
CATEGORIES= mail
|
2007-09-10 16:20:39 +00:00
|
|
|
MASTER_SITES= http://www.ecademix.com/JohannesHofmann/ CENKES
|
2005-04-11 20:28:44 +00:00
|
|
|
|
|
|
|
MAINTAINER= fernan@iib.unsam.edu.ar
|
|
|
|
COMMENT= Fast mail searching for mutt
|
|
|
|
|
2007-09-10 16:20:39 +00:00
|
|
|
RUN_DEPENDS= namazu:${PORTSDIR}/databases/namazu2
|
2005-04-11 20:28:44 +00:00
|
|
|
|
2005-07-25 20:03:32 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-11 20:28:44 +00:00
|
|
|
USE_GMAKE= yes
|
2005-07-25 20:03:32 +00:00
|
|
|
|
2005-04-11 20:28:44 +00:00
|
|
|
PLIST_FILES= bin/nmzmail
|
2005-07-25 20:03:32 +00:00
|
|
|
PORTDOCS= README NEWS
|
2005-04-11 20:28:44 +00:00
|
|
|
|
2009-05-12 08:48:02 +00:00
|
|
|
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)
|
|
|
|
@ ${SED} -i.bak -e 's/MAX_MAIL_DIRS 32/MAX_MAIL_DIRS ${MAX_MAIL_DIRS}/' \
|
|
|
|
${WRKSRC}/src/nmzmail.c
|
|
|
|
.endif
|
|
|
|
|
2005-04-11 20:28:44 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2007-09-10 16:20:39 +00:00
|
|
|
@${INSTALL} -d ${DOCSDIR}/
|
|
|
|
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
2005-04-11 20:28:44 +00:00
|
|
|
.endif
|
|
|
|
|
2007-09-10 16:20:39 +00:00
|
|
|
.include <bsd.port.mk>
|