|
Lines 14-19
RUN_DEPENDS= mutt:mail/mutt \
Link Here
|
| 14 |
|
14 |
|
| 15 |
USES= gmake perl5 |
15 |
USES= gmake perl5 |
| 16 |
|
16 |
|
|
|
17 |
MAKE_ARGS+= mandir=${MANPREFIX}/man prefix=${PREFIX} |
| 17 |
MASTERDIR= ${.CURDIR}/../notmuch |
18 |
MASTERDIR= ${.CURDIR}/../notmuch |
| 18 |
NO_ARCH= yes |
19 |
NO_ARCH= yes |
| 19 |
WRKSRC_SUBDIR= contrib/notmuch-mutt |
20 |
WRKSRC_SUBDIR= contrib/notmuch-mutt |
|
Lines 22-35
OPTIONS_DEFINE= EXAMPLES MANPAGES
Link Here
|
| 22 |
OPTIONS_DEFAULT= MANPAGES |
23 |
OPTIONS_DEFAULT= MANPAGES |
| 23 |
OPTIONS_SUB= yes |
24 |
OPTIONS_SUB= yes |
| 24 |
|
25 |
|
| 25 |
do-install: |
26 |
post-install-EXAMPLES-on: |
| 26 |
${INSTALL_SCRIPT} ${WRKSRC}/notmuch-mutt ${STAGEDIR}${PREFIX}/bin |
27 |
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
|
|
28 |
@${MV} ${STAGEDIR}${LOCALBASE}/etc/Muttrc.d/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc |
| 29 |
@${RMDIR} ${STAGEDIR}${LOCALBASE}/etc/Muttrc.d |
| 27 |
|
30 |
|
| 28 |
do-install-EXAMPLES-on: |
31 |
post-install-EXAMPLES-off: |
| 29 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
32 |
@${RM} -r ${STAGEDIR}${LOCALBASE}/etc/Muttrc.d |
| 30 |
${INSTALL_DATA} ${WRKSRC}/notmuch-mutt.rc ${STAGEDIR}${EXAMPLESDIR}/notmuch-mutt.rc |
|
|
| 31 |
|
33 |
|
| 32 |
do-install-MANPAGES-on: |
34 |
post-install-MANPAGES-off: |
| 33 |
${INSTALL_MAN} ${WRKSRC}/notmuch-mutt.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
35 |
@${RM} ${STAGEDIR}${MANPREFIX}/man/man1/notmuch-mutt.1 |
| 34 |
|
36 |
|
| 35 |
.include "${MASTERDIR}/Makefile" |
37 |
.include "${MASTERDIR}/Makefile" |