diff options
author | Mikhail Pchelin <misha@FreeBSD.org> | 2016-11-25 21:14:57 +0000 |
---|---|---|
committer | Mikhail Pchelin <misha@FreeBSD.org> | 2016-11-25 21:14:57 +0000 |
commit | 59ec137ee077b0fa76051387411a98469f6ad75b (patch) | |
tree | 85ed5920d854acb0afebbb2418b3e6e3c0c05f2a | |
parent | ee1463e70d9f05b0bb66b36b6aaf57a496d08723 (diff) | |
download | ports-59ec137ee077b0fa76051387411a98469f6ad75b.tar.gz ports-59ec137ee077b0fa76051387411a98469f6ad75b.zip |
Notes
-rw-r--r-- | mail/notmuch/Makefile | 17 | ||||
-rw-r--r-- | mail/notmuch/distinfo | 6 | ||||
-rw-r--r-- | mail/notmuch/pkg-plist | 4 |
3 files changed, 22 insertions, 5 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile index f5bb8a5f58f5..408b34653fca 100644 --- a/mail/notmuch/Makefile +++ b/mail/notmuch/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= notmuch -PORTVERSION= 0.23.1 +PORTVERSION= 0.23.2 CATEGORIES= mail MASTER_SITES= http://notmuchmail.org/releases/ @@ -27,8 +27,9 @@ USE_LDCONFIG= yes MAKE_ENV+= PYTHONCMD=${PYTHON_CMD} -OPTIONS_DEFINE= BASH DOXYGEN EMACS MANPAGES RUBY ZSH +OPTIONS_DEFINE= BASH DOXYGEN EMACS MANPAGES MUTT RUBY ZSH EMACS_DESC= Install EMACS lisp files (requires emacs) +MUTT_DESC= Install notmuch-mutt script OPTIONS_SUB= yes BASH_BUILD_DEPENDS= bash-completion>=1.90:shells/bash-completion @@ -41,6 +42,10 @@ EMACS_CONFIGURE_ON= --emacslispdir=${PREFIX}/${EMACS_SITE_LISPDIR} \ --emacsetcdir=${PREFIX}/${EMACS_SITE_LISPDIR} EMACS_USE= EMACS=yes MANPAGES_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx +MUTT_RUN_DEPENDS= p5-Mail-Tools>0:mail/p5-Mail-Tools \ + p5-Mail-Box>0:mail/p5-Mail-Box \ + p5-String-ShellQuote>0:textproc/p5-String-ShellQuote +MUTT_USE= PERL=yes RUBY_USE= RUBY=yes ZSH_CONFIGURE_WITH= zsh-completion @@ -50,6 +55,14 @@ ZSH_CONFIGURE_WITH= zsh-completion CONFIGURE_ENV= zlib_cflags="" zlib_ldflags="-lz" PKG_CONFIG_PATH="" .endif +do-build-MUTT-on: + ${MAKE_CMD} -C ${WRKSRC}/contrib/notmuch-mutt all + ${GZIP_CMD} ${WRKSRC}/contrib/notmuch-mutt/notmuch-mutt.1 + +do-install-MUTT-on: + ${INSTALL_SCRIPT} ${WRKSRC}/contrib/notmuch-mutt/notmuch-mutt ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/contrib/notmuch-mutt/notmuch-mutt.1.gz ${STAGEDIR}${MANPREFIX}/man/man1 + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notmuch @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnotmuch.so.4.4.0 diff --git a/mail/notmuch/distinfo b/mail/notmuch/distinfo index 90b42a252703..53fe78cc82cc 100644 --- a/mail/notmuch/distinfo +++ b/mail/notmuch/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1477336281 -SHA256 (notmuch-0.23.1.tar.gz) = e8012a1aa9afa47dfeb78f826610577e6bf9714e0933f28139c8611aad96d180 -SIZE (notmuch-0.23.1.tar.gz) = 690069 +TIMESTAMP = 1479902218 +SHA256 (notmuch-0.23.2.tar.gz) = edfd7528d43bf1e1ab2620607f9fdcf772603455a61c2eb49978619c352c97bc +SIZE (notmuch-0.23.2.tar.gz) = 690833 diff --git a/mail/notmuch/pkg-plist b/mail/notmuch/pkg-plist index 076a1271c80a..71b8ec86e3c9 100644 --- a/mail/notmuch/pkg-plist +++ b/mail/notmuch/pkg-plist @@ -1,4 +1,5 @@ bin/notmuch +%%MUTT%%bin/notmuch-mutt include/notmuch.h lib/libnotmuch.so lib/libnotmuch.so.4 @@ -18,6 +19,7 @@ lib/libnotmuch.so.4.4.0 %%MANPAGES%%man/man1/notmuch-show.1.gz %%MANPAGES%%man/man1/notmuch-tag.1.gz %%MANPAGES%%man/man1/notmuch.1.gz +%%MUTT%%man/man1/notmuch-mutt.1.gz %%DOXYGEN%%man/man3/notmuch.3.gz %%MANPAGES%%man/man5/notmuch-hooks.5.gz %%MANPAGES%%man/man7/notmuch-search-terms.7.gz @@ -61,4 +63,6 @@ lib/libnotmuch.so.4.4.0 %%EMACS%%%%EMACS_SITE_LISPDIR%%/notmuch.elc %%EMACS%%%%EMACS_SITE_LISPDIR%%/notmuch-company.el %%EMACS%%%%EMACS_SITE_LISPDIR%%/notmuch-company.elc +%%EMACS%%%%EMACS_SITE_LISPDIR%%/notmuch-compat.el +%%EMACS%%%%EMACS_SITE_LISPDIR%%/notmuch-compat.elc %%ZSH%%share/zsh/functions/Completion/Unix/_notmuch |