blob: c5061233795e4dfc3685b7dff2ea03049c20db59 (
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
43
44
45
46
47
48
49
|
# Created by: rea@FreeBSD.org
# $FreeBSD$
PORTNAME= mu
PORTVERSION= 1.2
CATEGORIES= mail
MAINTAINER= hrs@FreeBSD.org
COMMENT= Mail searching frontend for Xapian
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxapian.so:databases/xapian-core \
libgmime-3.0.so:mail/gmime30 \
libgc-threaded.so:devel/boehm-gc-threaded \
libjson-glib-1.0.so:devel/json-glib
USES= autoreconf compiler:c++14-lang gettext-runtime gmake gnome \
libtool makeinfo pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= djcb
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk --disable-mu4e
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS GUILE
OPTIONS_SUB= yes
GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2
GUILE_USE= ldconfig=yes
GUILE_CONFIGURE_ENABLE= guile
GUILE_INFO= mu-guile
post-patch:
@${REINPLACE_CMD} -e 's,guile-2\.0,guile-2.2,' \
${WRKSRC}/configure.ac
post-install:
cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask \
${STAGEDIR}${PREFIX}/bin
post-install-GUILE-on:
${FIND} ${STAGEDIR}${PREFIX}/lib -name "*.so.*" -type f | \
${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>
|