summaryrefslogtreecommitdiff
path: root/mail/notmuch
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2015-03-29 10:03:55 +0000
committerWen Heping <wen@FreeBSD.org>2015-03-29 10:03:55 +0000
commit8c318bbc7637f9f94cfdfe59beb4a99c02e7ec16 (patch)
tree3e2027433afded5a96d7dcb8bf72d51309720513 /mail/notmuch
parentPet portlint(1) (diff)
- Update to 0.19
- Add options to customize build - Mark ignored for everything below 9.0 release PR: 198464 Submitted by: mp39590@gmail.com Approved by: maintainer(timeout, >14 days)
Notes
Notes: svn path=/head/; revision=382576
Diffstat (limited to 'mail/notmuch')
-rw-r--r--mail/notmuch/Makefile30
-rw-r--r--mail/notmuch/distinfo4
-rw-r--r--mail/notmuch/pkg-plist63
3 files changed, 72 insertions, 25 deletions
diff --git a/mail/notmuch/Makefile b/mail/notmuch/Makefile
index 76705ad39a12..ea038047d360 100644
--- a/mail/notmuch/Makefile
+++ b/mail/notmuch/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= notmuch
-PORTVERSION= 0.18.1
+PORTVERSION= 0.19
CATEGORIES= mail
MASTER_SITES= http://notmuchmail.org/releases/
@@ -16,6 +16,26 @@ LIB_DEPENDS= libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
libxapian.so:${PORTSDIR}/databases/xapian-core \
libtalloc.so:${PORTSDIR}/devel/talloc
+OPTIONS_DEFINE= BASH EMACS ZSH
+BASH_DESC= Install bash completion (requires shells/bash-completion)
+EMACS_DESC= Install EMACS lisp files (requires emacs)
+ZSH_DESC= Install zsh completion
+OPTIONS_SUB= yes
+
+BASH_BUILD_DEPENDS= bash-completion>=1.90:${PORTSDIR}/shells/bash-completion
+BASH_RUN_DEPENDS= ${BASH_BUILD_DEPENDS}
+BASH_CONFIGURE_OFF= --without-bash-completion
+EMACS_CONFIGURE_OFF= --without-emacs
+EMACS_CONFIGURE_ON= --emacslispdir=${PREFIX}/${EMACS_SITE_LISPDIR} \
+ --emacsetcdir=${PREFIX}/${EMACS_SITE_LISPDIR}
+ZSH_CONFIGURE_OFF= --without-zsh-completion
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MEMACS}
+USE_EMACS= yes
+.endif
+
HAS_CONFIGURE= yes
USES= pkgconfig python:build gmake
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man
@@ -23,4 +43,10 @@ USE_LDCONFIG= yes
MAKE_ENV+= PYTHONCMD=${PYTHON_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900044
+IGNORE= requires zlib at least 1.2.5
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/notmuch/distinfo b/mail/notmuch/distinfo
index 1a8a8683e7ea..69e70dd1964c 100644
--- a/mail/notmuch/distinfo
+++ b/mail/notmuch/distinfo
@@ -1,2 +1,2 @@
-SHA256 (notmuch-0.18.1.tar.gz) = f2d53dc1916283123d008a6084de860340a436631e83b1a41b2d9ced0f4db7dd
-SIZE (notmuch-0.18.1.tar.gz) = 634691
+SHA256 (notmuch-0.19.tar.gz) = 396fc6548423785ebbbe9a6cce321d957d3b2e856edb8225bb0988470833eeeb
+SIZE (notmuch-0.19.tar.gz) = 659038
diff --git a/mail/notmuch/pkg-plist b/mail/notmuch/pkg-plist
index 5bb38aa1590d..8f326a23f634 100644
--- a/mail/notmuch/pkg-plist
+++ b/mail/notmuch/pkg-plist
@@ -1,8 +1,9 @@
bin/notmuch
include/notmuch.h
-lib/libnotmuch.so.3.1.0
lib/libnotmuch.so
-lib/libnotmuch.so.3
+lib/libnotmuch.so.4
+lib/libnotmuch.so.4.1.0
+man/man1/notmuch-address.1.gz
man/man1/notmuch-compact.1.gz
man/man1/notmuch-config.1.gz
man/man1/notmuch-count.1.gz
@@ -18,22 +19,42 @@ man/man1/notmuch-tag.1.gz
man/man1/notmuch.1.gz
man/man5/notmuch-hooks.5.gz
man/man7/notmuch-search-terms.7.gz
-share/emacs/site-lisp/coolj.el
-share/emacs/site-lisp/notmuch-address.el
-share/emacs/site-lisp/notmuch-crypto.el
-share/emacs/site-lisp/notmuch-hello.el
-share/emacs/site-lisp/notmuch-lib.el
-share/emacs/site-lisp/notmuch-logo.png
-share/emacs/site-lisp/notmuch-maildir-fcc.el
-share/emacs/site-lisp/notmuch-message.el
-share/emacs/site-lisp/notmuch-mua.el
-share/emacs/site-lisp/notmuch-parser.el
-share/emacs/site-lisp/notmuch-print.el
-share/emacs/site-lisp/notmuch-query.el
-share/emacs/site-lisp/notmuch-show.el
-share/emacs/site-lisp/notmuch-tag.el
-share/emacs/site-lisp/notmuch-tree.el
-share/emacs/site-lisp/notmuch-version.el
-share/emacs/site-lisp/notmuch-wash.el
-share/emacs/site-lisp/notmuch.el
-share/zsh/functions/Completion/Unix/_notmuch
+%%BASH%%etc/bash_completion.d/notmuch
+%%EMACS%%share/emacs/site-lisp/coolj.el
+%%EMACS%%share/emacs/site-lisp/coolj.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-address.el
+%%EMACS%%share/emacs/site-lisp/notmuch-address.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-crypto.el
+%%EMACS%%share/emacs/site-lisp/notmuch-crypto.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-hello.el
+%%EMACS%%share/emacs/site-lisp/notmuch-hello.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-jump.el
+%%EMACS%%share/emacs/site-lisp/notmuch-jump.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-lib.el
+%%EMACS%%share/emacs/site-lisp/notmuch-lib.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-logo.png
+%%EMACS%%share/emacs/site-lisp/notmuch-maildir-fcc.el
+%%EMACS%%share/emacs/site-lisp/notmuch-maildir-fcc.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-message.el
+%%EMACS%%share/emacs/site-lisp/notmuch-message.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-mua.el
+%%EMACS%%share/emacs/site-lisp/notmuch-mua.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-parser.el
+%%EMACS%%share/emacs/site-lisp/notmuch-parser.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-print.el
+%%EMACS%%share/emacs/site-lisp/notmuch-print.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-query.el
+%%EMACS%%share/emacs/site-lisp/notmuch-query.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-show.el
+%%EMACS%%share/emacs/site-lisp/notmuch-show.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-tag.el
+%%EMACS%%share/emacs/site-lisp/notmuch-tag.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-tree.el
+%%EMACS%%share/emacs/site-lisp/notmuch-tree.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-version.el
+%%EMACS%%share/emacs/site-lisp/notmuch-version.elc
+%%EMACS%%share/emacs/site-lisp/notmuch-wash.el
+%%EMACS%%share/emacs/site-lisp/notmuch-wash.elc
+%%EMACS%%share/emacs/site-lisp/notmuch.el
+%%EMACS%%share/emacs/site-lisp/notmuch.elc
+%%ZSH%%share/zsh/functions/Completion/Unix/_notmuch