aboutsummaryrefslogtreecommitdiffstats
path: root/mail/nmzmail/Makefile
blob: 0d311dbe2d10d1119288a9cdd0571b426ee9fd91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ex:ts=8
# New ports collection Makefile for: nmzmail
# Date created:     7 January 2005
# Whom:         fernan@iib.unsam.edu.ar
#
# $FreeBSD$
#

PORTNAME=   nmzmail
PORTVERSION=    0.1.3
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.ecademix.com/JohannesHofmann/

MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT=    Fast mail searching for mutt

RUN_DEPENDS=    namazu:${PORTSDIR}/databases/namazu2 \
        mutt:${PORTSDIR}/mail/mutt

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE=  yes

PLIST_FILES=    bin/nmzmail
PORTDOCS=   README  NEWS

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500018 || exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+=   readline.5:${PORTSDIR}/devel/readline
.endif

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    for f in ${PORTDOCS}; do \
    ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
    done
.endif

.include <bsd.port.post.mk>