summaryrefslogtreecommitdiff
path: root/mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2018-11-08 07:35:30 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2018-11-08 07:35:30 +0000
commitdea08d5852880e52ab74239dca62ab23656a288e (patch)
treec628189d20b8198d6903755d3e31300718864894 /mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile
parent- Update to 0.817 (diff)
Update to 0.28
PR: 232310 Submitted by: maintainer
Diffstat (limited to 'mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile')
-rw-r--r--mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile b/mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile
new file mode 100644
index 000000000000..013ddd5cdb48
--- /dev/null
+++ b/mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile
@@ -0,0 +1,15 @@
+--- contrib/notmuch-mutt/Makefile.orig 2018-10-13 17:57:20 UTC
++++ contrib/notmuch-mutt/Makefile
+@@ -18,8 +18,10 @@ install: all
+ mkdir -p $(DESTDIR)$(prefix)/bin
+ sed "1s|^#!.*|#! $(PERL_ABSOLUTE)|" < $(NAME) > $(DESTDIR)$(prefix)/bin/$(NAME)
+ chmod 755 $(DESTDIR)$(prefix)/bin/$(NAME)
+- install -D -m 644 $(NAME).1 $(DESTDIR)$(mandir)/man1/$(NAME).1
+- install -D -m 644 $(NAME).rc $(DESTDIR)$(sysconfdir)/Muttrc.d/$(NAME).rc
++ mkdir -p $(DESTDIR)$(mandir)/man1
++ install -m 644 $(NAME).1 $(DESTDIR)$(mandir)/man1/$(NAME).1
++ mkdir -p $(DESTDIR)$(sysconfdir)/Muttrc.d
++ install -m 644 $(NAME).rc $(DESTDIR)$(sysconfdir)/Muttrc.d/$(NAME).rc
+
+ clean:
+ rm -f notmuch-mutt.1 README.html