# $Id: Portfile 146583 2016-03-12 20:12:07Z khindenburg@macports.org $ PortSystem 1.0 name lbdb version 0.36 revision 2 categories mail license GPL-2 description The little brother's database for the mutt mail reader. long_description This package consists of a set of small tools, \ which collect mail addresses from several sources \ and offer these addresses to the mutt external \ query feature. \ It can use Emacs bbdb, abook, ldap and evec mac os \ x addressbook for query. homepage http://www.spinnaker.de/lbdb/ platforms darwin freebsd maintainers nomaintainer master_sites http://www.spinnaker.de/debian/ checksums sha1 05f2535967274bc6b05061ff54a01fa308981b4a patchfiles lbdb.patch Makefile.in.patch distname ${name}_${version} worksrcdir ${name}-${version} configure.dir ${workpath}/${name}-${version} configure.args --sysconfdir=${prefix}/etc/ --libdir=${prefix}/lib/lbdb/ \ --mandir=${prefix}/share/man configure.cflags-append -I${prefix}/include post-patch { file delete ${configure.dir}/ABQuery/ABQuery.pbproj/project.pbxproj file delete ${configure.dir}/ABQuery/ABQuery.pbproj reinplace "s|sed|gsed|g" ${configure.dir}/m_muttalias.sh.in } depends_run port:gsed build.dir ${configure.dir} destroot.target install destroot.destdir install_prefix=${destroot} post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp file copy ${configure.dir}/lbdb.el ${destroot}${prefix}/share/emacs/site-lisp } variant gpg conflicts gpg2 description {Add support for GnuPG version 1} { configure.args-append --with-gpg depends_lib-append port:gnupg } variant gpg2 conflicts gpg description {Add support for GnuPG version 2} { configure.args-append --with-gpg=${prefix}/bin/gpg2 depends_lib-append port:gnupg2 } variant ldap { depends_lib-append port:p5-perl-ldap }