a3cc513bfc
- Convert USE_EMACS to USES=emacs - Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and editors/emacs-devel) - Permit default Emacs flavor to be specified in make.conf - Rename japanese/migemo-emacs23 to japanese/migemo-emacs - Update and simplify audio/emms and fix build on FreeBSD 10 [1] - Update databases/bbdd and fix build on FreeBSD 10 [1] - Update editors/emacs-devel - Ensure Makefile shell commands that change directory are executed in a subshell - Silence some portlint warnings [1] By not depending on base texinfo PR: 225404 Reviewed by: antoine Approved by: portmgr (mat) ashish (maintainer) Differential Revision: https://reviews.freebsd.org/D13506
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= mu4e-maildirs
|
|
PORTVERSION= 0.8.20160126
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= Maildirs extension for Mu4e
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
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= f759dff
|
|
|
|
NO_CONFIGURE= 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 \
|
|
-f batch-byte-compile 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>
|