mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
d9dcd9c687
Reviewed by: ashish Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34781
49 lines
1015 B
Makefile
49 lines
1015 B
Makefile
PORTNAME= mu4e
|
|
PORTVERSION= 1.6.4
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Emacs frontend for Mu
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= mu:mail/mu
|
|
|
|
USES= autoreconf emacs makeinfo pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= mu
|
|
GH_ACCOUNT= djcb
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-gtk \
|
|
--disable-webkit \
|
|
--disable-guile \
|
|
--docdir="${DOCSDIR}" \
|
|
--enable-mu4e
|
|
INFO= ${PORTNAME}
|
|
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
INSTALL_TARGET= install-strip
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
post-extract:
|
|
${INSTALL_DATA} ${WRKSRC}/mu4e/obsolete/org-mu4e.el \
|
|
${WRKSRC}/mu4e/org-mu4e.el
|
|
|
|
pre-build:
|
|
${REINPLACE_CMD} -e '/.el.elc/,/^$$/d' ${BUILD_WRKSRC}/Makefile && \
|
|
${ECHO_CMD} '.include "${FILESDIR}/byte-compile.mk"' \
|
|
>> ${BUILD_WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
cd ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/mu4e && \
|
|
${GZIP_CMD} *.el
|
|
|
|
.include <bsd.port.mk>
|