freebsd-ports/mail/notmuch/files/patch-contrib_notmuch-mutt_Makefile
2020-08-12 20:56:46 +00:00

16 lines
722 B
Plaintext

--- contrib/notmuch-mutt/Makefile.orig 2020-07-11 01:25:04 UTC
+++ contrib/notmuch-mutt/Makefile
@@ -18,8 +18,10 @@ install: all
mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(sysconfdir)/Muttrc.d
sed "1s|^#!.*|#! $(PERL_ABSOLUTE)|" < $(NAME) > $(DESTDIR)$(prefix)/bin/$(NAME)
chmod 755 $(DESTDIR)$(prefix)/bin/$(NAME)
- install -m 644 $(NAME).1 $(DESTDIR)$(mandir)/man1/
- install -m 644 $(NAME).rc $(DESTDIR)$(sysconfdir)/Muttrc.d/
+ 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