1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/mail/mu/Makefile
2015-04-23 14:24:47 +00:00

52 lines
1.1 KiB
Makefile

# Created by: rea@FreeBSD.org
# $FreeBSD$
PORTNAME= mu
PORTVERSION= 0.9.11
DISTVERSIONPREFIX= v
CATEGORIES= mail
MAINTAINER= ports@FreeBSD.org
COMMENT= Mail searching frontend for Xapian
LICENSE= GPLv3
LIB_DEPENDS= libxapian.so:${PORTSDIR}/databases/xapian-core \
libgmime-2.6.so:${PORTSDIR}/mail/gmime26
USE_GITHUB= yes
GH_ACCOUNT= djcb
USES= autoreconf gmake libtool makeinfo pkgconfig
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules --disable-gtk
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= GUILE MU4E
OPTIONS_SUB= yes
GUILE_LIB_DEPENDS= libguile-2.0.so:${PORTSDIR}/lang/guile2
GUILE_USE= ldconfig=yes
GUILE_CONFIGURE_ENABLE= guile
GUILE_INFO= mu-guile
MU4E_DESC= Email client for Emacs
MU4E_USE= emacs=yes
MU4E_CONFIGURE_ENABLE= mu4e
MU4E_INFO= mu4e
.include <bsd.port.options.mk>
post-install:
(cd ${FILESDIR} && ${INSTALL_SCRIPT} mu-ask \
${STAGEDIR}${PREFIX}/bin)
.if ${PORT_OPTIONS:MGUILE}
(${FIND} ${STAGEDIR}${PREFIX}/lib -name "*.so.*" -type f | \
${XARGS} ${STRIP_CMD})
.endif
.include <bsd.port.mk>