2018-02-27 06:01:28 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
PKGNAMESUFFIX= -mutt
|
|
|
|
|
|
|
|
COMMENT= Integrates the Notmuch email search and tagging application with Mutt
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://notmuchmail.org/notmuch-mutt/
|
2018-02-27 06:01:28 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-11-08 08:35:30 +01:00
|
|
|
MAKE_ARGS+= mandir=${MANPREFIX}/man prefix=${PREFIX}
|
2018-02-27 06:01:28 +01:00
|
|
|
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\.]*$$
|
|
|
|
|
2018-11-08 08:35:30 +01:00
|
|
|
post-install-EXAMPLES-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2018-11-10 18:17:55 +01:00
|
|
|
@${MV} ${STAGEDIR}${PREFIX}/etc/Muttrc.d/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc
|
|
|
|
@${RMDIR} ${STAGEDIR}${PREFIX}/etc/Muttrc.d
|
2018-02-27 06:01:28 +01:00
|
|
|
|
2018-11-08 08:35:30 +01:00
|
|
|
post-install-EXAMPLES-off:
|
2018-11-10 18:17:55 +01:00
|
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/etc/Muttrc.d
|
2018-02-27 06:01:28 +01:00
|
|
|
|
2018-11-08 08:35:30 +01:00
|
|
|
post-install-MANPAGES-off:
|
|
|
|
@${RM} ${STAGEDIR}${MANPREFIX}/man/man1/notmuch-mutt.1
|
2018-02-27 06:01:28 +01:00
|
|
|
|
|
|
|
.include "${MASTERDIR}/Makefile"
|