aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mu4e/Makefile
blob: 0665ebc14ca9f4d718a927013a70a3853d1e0b03 (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
# $FreeBSD$

PORTNAME=   mu4e
PORTVERSION=    0.9.16
PORTREVISION=   1
DISTVERSIONPREFIX=  v
CATEGORIES= mail
PKGNAMESUFFIX=  -${EMACS_PORT_NAME}

MAINTAINER= hrs@FreeBSD.org
COMMENT=    Emacs frontend for Mu

LICENSE=    GPLv3

RUN_DEPENDS=    mu:mail/mu

USES=       autoreconf gmake makeinfo pkgconfig
USE_GITHUB= yes
GH_PROJECT= mu
GH_ACCOUNT= djcb
USE_EMACS=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-gtk \
        --disable-webkit \
        --disable-guile \
        --docdir="${DOCSDIR}" \
        --enable-mu4e
INFO=       mu4e
BUILD_WRKSRC=   ${WRKSRC}/mu4e
INSTALL_WRKSRC= ${WRKSRC}/mu4e
INSTALL_TARGET= install-strip

MAKE_JOBS_UNSAFE=   yes

OPTIONS_DEFINE=     DOCS
OPTIONS_SUB=        yes

post-install:
    cd ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/mu4e && \
        ${GZIP_CMD} *.el

.include <bsd.port.mk>