blob: b45b93f647484b22427ef3f3dc4b09a4b393c96f (
plain)
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
43
44
45
46
47
48
49
50
51
52
|
PORTNAME= mu4e-maildirs
PORTVERSION= 0.8.20180606
PORTREVISION= 3
CATEGORIES= mail
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Maildirs extension for Mu4e
LICENSE= GPLv3
BUILD_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>0:devel/dash.el@${EMACS_FLAVOR} \
mu4e${EMACS_PKGNAMESUFFIX}>0:mail/mu4e@${EMACS_FLAVOR}
RUN_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>0:devel/dash.el@${EMACS_FLAVOR} \
mu4e${EMACS_PKGNAMESUFFIX}>0:mail/mu4e@${EMACS_FLAVOR}
USES= emacs
USE_GITHUB= yes
GH_PROJECT= ${PORTNAME}-extension
GH_ACCOUNT= agpchil
GH_TAGNAME= 3ef4c48
NO_ARCH= yes
PLIST_FILES= ${EMACS_SITE_LISPDIR}/mu4e/mu4e-maildirs-extension.elc \
${EMACS_SITE_LISPDIR}/mu4e/mu4e-maildirs-extension.el.gz
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && ${EMACS_CMD} --batch \
--eval "(provide 'mu4e)" \
--eval "(defvar mu4e~main-buffer-name \"tests\")" \
--eval "(defvar mu4e-mu-binary \"mu\")" \
--eval "(require 'cl)" \
-l dash.el \
-l mu4e-maildirs-extension.el \
--eval "(byte-compile-file \"mu4e-maildirs-extension.el\")" && \
${GZIP_CMD} mu4e-maildirs-extension.el
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/mu4e && \
cd ${WRKSRC} && ${INSTALL_DATA} \
mu4e-maildirs-extension.elc \
mu4e-maildirs-extension.el.gz \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/mu4e
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|