freebsd-ports/mail/notmuch-mutt/Makefile

39 lines
1 KiB
Makefile
Raw Normal View History

CATEGORIES= mail
PKGNAMESUFFIX= -mutt
COMMENT= Integrates the Notmuch email search and tagging application with Mutt
WWW= https://notmuchmail.org/notmuch-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
MAKE_ARGS+= mandir=${MANPREFIX}/man prefix=${PREFIX}
MASTERDIR= ${.CURDIR}/../notmuch
NO_ARCH= yes
WRKSRC_SUBDIR= contrib/notmuch-mutt
OPTIONS_DEFINE= EXAMPLES MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
2020-08-15 16:55:48 +02:00
PORTSCOUT= limit:^[0-9\.]*$$
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${MV} ${STAGEDIR}${PREFIX}/etc/Muttrc.d/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc
@${RMDIR} ${STAGEDIR}${PREFIX}/etc/Muttrc.d
post-install-EXAMPLES-off:
@${RM} -r ${STAGEDIR}${PREFIX}/etc/Muttrc.d
post-install-MANPAGES-off:
@${RM} ${STAGEDIR}${MANPREFIX}/man/man1/notmuch-mutt.1
.include "${MASTERDIR}/Makefile"