diff options
author | ryoon <ryoon@pkgsrc.org> | 2019-03-08 18:27:31 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2019-03-08 18:27:31 +0000 |
commit | a2d5a7e72dc1a31790f6d87efad86242c47b72ac (patch) | |
tree | 8a1168889725a9cd6aa56724bf9991b39e5d8305 /mail/notmuch | |
parent | 8f1a4c0866bbd8bb409b9a12e68a48b533c57f37 (diff) | |
download | pkgsrc-a2d5a7e72dc1a31790f6d87efad86242c47b72ac.tar.gz |
Fix emacs option case
* Fix PLIST for notmuch-emacs option
* Install notmuch-emacs-mua script properly in notmuch-emacs case
Diffstat (limited to 'mail/notmuch')
-rw-r--r-- | mail/notmuch/Makefile | 4 | ||||
-rw-r--r-- | mail/notmuch/PLIST | 11 | ||||
-rw-r--r-- | mail/notmuch/distinfo | 3 | ||||
-rw-r--r-- | mail/notmuch/patches/patch-emacs_Makefile.local | 15 |
4 files changed, 30 insertions, 3 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile index f1bdd718cff..6cf592ecce5 100644 --- a/mail/notmuch/Makefile +++ b/mail/notmuch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2019/02/24 10:42:15 wiz Exp $ +# $NetBSD: Makefile,v 1.44 2019/03/08 18:27:31 ryoon Exp $ DISTNAME= notmuch-0.28.2 CATEGORIES= mail @@ -18,6 +18,8 @@ MAKE_FLAGS+= PYTHON=${PYTHONBIN} INFO_FILES= yes #TEST_TARGET= check +REPLACE_BASH+= emacs/notmuch-emacs-mua + .include "options.mk" CONFIGURE_ARGS+= --prefix=${PREFIX} diff --git a/mail/notmuch/PLIST b/mail/notmuch/PLIST index d9e3262de1d..4653b85a32c 100644 --- a/mail/notmuch/PLIST +++ b/mail/notmuch/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.12 2018/12/01 11:38:12 wiz Exp $ +@comment $NetBSD: PLIST,v 1.13 2019/03/08 18:27:31 ryoon Exp $ bin/notmuch +${PLIST.emacs}bin/notmuch-emacs-mua include/notmuch.h info/notmuch-address.info info/notmuch-compact.info @@ -46,8 +47,14 @@ ${PLIST.emacs}share/emacs/site-lisp/coolj.el ${PLIST.emacs}share/emacs/site-lisp/coolj.elc ${PLIST.emacs}share/emacs/site-lisp/notmuch-address.el ${PLIST.emacs}share/emacs/site-lisp/notmuch-address.elc +${PLIST.emacs}share/emacs/site-lisp/notmuch-company.el +${PLIST.emacs}share/emacs/site-lisp/notmuch-company.elc +${PLIST.emacs}share/emacs/site-lisp/notmuch-compat.el +${PLIST.emacs}share/emacs/site-lisp/notmuch-compat.elc ${PLIST.emacs}share/emacs/site-lisp/notmuch-crypto.el ${PLIST.emacs}share/emacs/site-lisp/notmuch-crypto.elc +${PLIST.emacs}share/emacs/site-lisp/notmuch-draft.el +${PLIST.emacs}share/emacs/site-lisp/notmuch-draft.elc ${PLIST.emacs}share/emacs/site-lisp/notmuch-hello.el ${PLIST.emacs}share/emacs/site-lisp/notmuch-hello.elc ${PLIST.emacs}share/emacs/site-lisp/notmuch-jump.el @@ -79,5 +86,7 @@ ${PLIST.emacs}share/emacs/site-lisp/notmuch-wash.el ${PLIST.emacs}share/emacs/site-lisp/notmuch-wash.elc ${PLIST.emacs}share/emacs/site-lisp/notmuch.el ${PLIST.emacs}share/emacs/site-lisp/notmuch.elc +${PLIST.emacs}share/applications/mimeinfo.cache +${PLIST.emacs}share/applications/notmuch-emacs-mua.desktop share/zsh/functions/Completion/Unix/_notmuch share/zsh/functions/Completion/Unix/_email-notmuch diff --git a/mail/notmuch/distinfo b/mail/notmuch/distinfo index 55a0c11ff80..922e6405504 100644 --- a/mail/notmuch/distinfo +++ b/mail/notmuch/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.36 2019/02/24 10:42:15 wiz Exp $ +$NetBSD: distinfo,v 1.37 2019/03/08 18:27:31 ryoon Exp $ SHA1 (notmuch-0.28.2.tar.gz) = 83ef6c1eac206946ff611d0974e763b94ff57ef0 RMD160 (notmuch-0.28.2.tar.gz) = b4b0484168344881c2c58b3872923ad7c8019533 @@ -7,3 +7,4 @@ Size (notmuch-0.28.2.tar.gz) = 921580 bytes SHA1 (patch-Makefile.global) = f436bdb163e3110a8d097f3c88198aefb126eafc SHA1 (patch-Makefile.local) = d0a83ff130de36164f1667236860aa31d481d025 SHA1 (patch-doc_conf.py) = 7492c878c96da68df16827aa0d6407c2e9808701 +SHA1 (patch-emacs_Makefile.local) = 4a36a2c165852a098a45c8b99c8372d65d33b07c diff --git a/mail/notmuch/patches/patch-emacs_Makefile.local b/mail/notmuch/patches/patch-emacs_Makefile.local new file mode 100644 index 00000000000..30c04e31401 --- /dev/null +++ b/mail/notmuch/patches/patch-emacs_Makefile.local @@ -0,0 +1,15 @@ +$NetBSD: patch-emacs_Makefile.local,v 1.1 2019/03/08 18:27:31 ryoon Exp $ + +* Do not replace bash with buildlinked one. This is pkgsrc-specific. + +--- emacs/Makefile.local.orig 2019-02-17 11:32:59.000000000 +0000 ++++ emacs/Makefile.local +@@ -111,7 +111,7 @@ endif + install -m0644 $(emacs_images) "$(DESTDIR)$(emacsetcdir)" + mkdir -p "$(DESTDIR)$(prefix)/bin/" + ifeq ($(HAVE_BASH),1) +- sed "1s|^#!.*|#! $(BASH_ABSOLUTE)|" < $(emacs_mua) > $(DESTDIR)$(prefix)/bin/notmuch-emacs-mua ++ ${BSD_INSTALL_SCRIPT} $(emacs_mua) $(DESTDIR)$(prefix)/bin/notmuch-emacs-mua + chmod 755 $(DESTDIR)$(prefix)/bin/notmuch-emacs-mua + endif + ifeq ($(WITH_DESKTOP),1) |