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

PORTNAME=   mairix
PORTVERSION=    0.20
CATEGORIES= mail
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mairix

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

USE_GMAKE=  yes
HAS_CONFIGURE=  yes
USE_BISON=  yes
CONFIGURE_ENV=  CC="${CC}" CFLAGS="${CFLAGS}"

MAN1=   mairix.1
MAN5=   mairixrc.5
PLIST_FILES=    bin/mairix %%EXAMPLESDIR%%/dotmairixrc.eg
PLIST_DIRS= %%EXAMPLESDIR%%

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/mairix ${PREFIX}/bin
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/dotmairixrc.eg ${EXAMPLESDIR}
    ${INSTALL_MAN} ${WRKSRC}/mairix.1 ${PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/mairixrc.5 ${PREFIX}/man/man5

.include <bsd.port.mk>