1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/mail/notmuch-mutt/Makefile
Tobias Kortkamp 447eede879 mail/notmuch-mutt: Unbreak build when PREFIX != LOCALBASE
===>   Generating temporary packing list
[...]
mkdir -p /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/prefix/notmuch-mutt-0.28/etc/Muttrc.d
install -m 644 notmuch-mutt.rc /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/prefix/notmuch-mutt-0.28/etc/Muttrc.d/notmuch-mutt.rc
mv: rename /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/usr/local/etc/Muttrc.d/notmuch-mutt.rc to /wrkdirs/usr/ports/mail/notmuch-mutt/work/stage/prefix/notmuch-mutt-0.28/share/examples/notmuch/notmuch-mutt.rc: No such file or directory

PR:		232310
2018-11-10 17:17:55 +00:00

38 lines
1004 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
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
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"