aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mairix/Makefile
blob: 2921dfe7e1d03849960efd806776f08264a476ba (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
# ports collection Makefile for: mairix
# Whom:     Oliver Braun <obraun@FreeBSD.org>
# Date created: 2003-03-27
#
# $FreeBSD$
#

PORTNAME=   mairix
PORTVERSION=    0.11
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.rrbcurnow.freeuk.com/mairix/

MAINTAINER= obraun@FreeBSD.org
COMMENT=    Indexing and searching in Maildir or MH folders

USE_SIZE=   yes
USE_BISON=  yes
USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e '/^CC/d ; /^CFLAGS/d ; /dfasyn/d' \
         ${WRKSRC}/Makefile

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/mairix ${PREFIX}/bin
    @${MKDIR} ${EXAMPLESDIR}
    @${INSTALL_DATA} ${WRKSRC}/dotmairixrc.eg ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/mairix.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>