aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mu/Makefile
blob: 58bc5a1b8c4b5f66589a8b0352861e2930d2feb3 (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
# New ports collection Makefile for: mu
# Date created:     2 March 2012
# Whom:         rea@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   mu
PORTVERSION=    0.9.9
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://mu0.googlecode.com/files/

MAINTAINER= rea@FreeBSD.org
COMMENT=    Mail searching frontend for Xapian

LICENSE=    GPLv3

LIB_DEPENDS=    xapian:${PORTSDIR}/databases/xapian-core \
        gmime:${PORTSDIR}/mail/gmime24

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  glib20 pkgconfig

MAN1=       mu-cfind.1 mu-easy.1 mu-extract.1 mu-find.1 mu-index.1 \
        mu-mkdir.1 mu-view.1 mu-add.1 mu-remove.1 mu-server.1 mu.1 \
        mug.1
MAN5=       mu-bookmarks.5

CFLAGS+=    -I${LOCALBASE}/include
CXXFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS+=    --with-gui=none

do-install:
    cd ${WRKSRC}/mu && ${INSTALL_PROGRAM} mu ${PREFIX}/bin
    cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask ${PREFIX}/bin
    cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1
    cd ${WRKSRC}/man && ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5

.include <bsd.port.mk>