2012-12-07 00:19:06 +01:00
|
|
|
# Created by: DarwinSurvivor <darwinsurvivor@gmail.com>
|
2012-03-02 01:42:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= notmuch
|
2015-07-13 13:03:49 +02:00
|
|
|
PORTVERSION= 0.20.2
|
2015-07-29 22:31:09 +02:00
|
|
|
PORTREVISION= 1
|
2012-03-02 01:42:25 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://notmuchmail.org/releases/
|
|
|
|
|
2015-07-13 13:03:49 +02:00
|
|
|
MAINTAINER= mp39590@gmail.com
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= Thread-based email index, search, and tagging application
|
2012-03-02 01:42:25 +01:00
|
|
|
|
2013-01-31 08:13:11 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2015-07-29 22:31:09 +02:00
|
|
|
BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx \
|
|
|
|
c++filt:${PORTSDIR}/devel/binutils
|
2014-01-02 09:10:39 +01:00
|
|
|
LIB_DEPENDS= libgmime-2.6.so:${PORTSDIR}/mail/gmime26 \
|
|
|
|
libxapian.so:${PORTSDIR}/databases/xapian-core \
|
|
|
|
libtalloc.so:${PORTSDIR}/devel/talloc
|
2012-03-02 01:42:25 +01:00
|
|
|
|
2015-03-29 12:03:55 +02:00
|
|
|
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
|
|
|
|
|
2013-01-31 08:13:11 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2015-07-13 13:03:49 +02:00
|
|
|
USES= gmake pkgconfig python:build
|
2013-01-31 08:13:11 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${MANPREFIX}/man
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2014-08-10 00:07:19 +02:00
|
|
|
MAKE_ENV+= PYTHONCMD=${PYTHON_CMD}
|
|
|
|
|
2015-07-13 13:03:49 +02:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notmuch
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnotmuch.so.4.2.0
|
|
|
|
|
2015-03-29 12:03:55 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 900044
|
|
|
|
IGNORE= requires zlib at least 1.2.5
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|