mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# Created by: rea@FreeBSD.org
|
|
|
|
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>
|