1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/mail/notmuch-mutt/Makefile
Dima Panov ed2a6eb138 - Pass maintainership of mail/notmuch and mail/py-notmuch to submitter.
- Update ports to version to 0.26.
- Unconditionally install completions according to Porter's Handbook Chapter 6.31.
    without adding extra dependencies.
- Turn on the MANPAGES option by default. Building the manual pages is kept as an option
    to allow for more minimal custom builds.
- Remove RUBY option as it never did anything. There are no build or install instructions
    in the Makefile nor %%RUBY%% references in pkg-plist.
    Building with the RUBY option enabled makes absolutely no difference to the produced package.
    The only thing ever requiring the Ruby bindings to the Notmuch library is the Vim client,
    which isn't built either.
- Turn mail/py-notmuch into a slave port of mail/notmuch.
- Split off EMACS option into the flavor aware slave port mail/notmuch-emacs.
- Split off MUTT option into the slave port mail/notmuch-mutt.
- Perform miscellaneous cleanups.

PR:		225059
Submitted by:	seschwar AT gmail.com
Reviewed by:	mat, fluffy, maintainers
Approved by:	maintainers
Differential Revision:	D13944
2018-02-27 05:01:28 +00:00

36 lines
910 B
Makefile

# $FreeBSD$
CATEGORIES= mail
PKGNAMESUFFIX= -mutt
COMMENT= Integrates the Notmuch email search and tagging application with Mutt
RUN_DEPENDS= mutt:mail/mutt \
notmuch:mail/notmuch \
p5-Mail-Box>0:mail/p5-Mail-Box \
p5-Mail-Tools>0:mail/p5-Mail-Tools \
p5-String-ShellQuote>0:textproc/p5-String-ShellQuote \
p5-Term-ReadLine-Gnu>0:devel/p5-Term-ReadLine-Gnu
USES= gmake perl5
MASTERDIR= ${.CURDIR}/../notmuch
NO_ARCH= yes
WRKSRC_SUBDIR= contrib/notmuch-mutt
OPTIONS_DEFINE= EXAMPLES MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/notmuch-mutt ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc
do-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/notmuch-mutt.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include "${MASTERDIR}/Makefile"