# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 87413 2011-11-20 08:23:23Z ryandesign@macports.org $ PortSystem 1.0 name bbdb version 2.35 categories www platforms darwin maintainers yahoo.com:vishketan license GPL-2+ supported_archs noarch description The Insidious Big Brother Database long_description The Insidious Big Brother Database (BBDB) is a contact \ management utility. It is tightly integrated with \ several mail and news readers, allowing it to create \ database entries directly from mail and news messages. \ As is usual with applications for Emacs, this record \ creation can be configured in many ways, ranging from \ a boolean create/don't create setting to creation \ based on the result of a user-supplied function.\ Database records can be used to store many types of \ information, from name and address to URLs and X-Face \ images. This information can be displayed when a \ message from an entity named in a database record is \ received. In addition, messages from database members \ can be tagged in the Gnus Summary Buffer, and Gnus \ scoring can be configured based on the contents of \ database records. Supercite citations can even be \ preset through the use of records in the BBDB. homepage http://bbdb.sourceforge.net/ master_sites sourceforge:project/bbdb/bbdb/${version} depends_lib port:emacs depends_build port:texinfo checksums rmd160 ea212acd00c18b9a8c3a8b1aa4b1c5727ea3a55c \ sha256 c71a46fcd9ae4d68d9fa970d175ff84cd85780dc3f9aec603688deff252aedb8 configure.pre_args --prefix=${destroot}${prefix} configure.args --infodir=${destroot}${prefix}/share/info variant emacs_app description {Use emacs-app instead of emacs} { depends_lib-append port:emacs-app depends_lib-delete port:emacs configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs } use_parallel_build no destroot { xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name} eval xinstall -m 644 [glob ${worksrcpath}/lisp/*.el*] \ ${destroot}${prefix}/share/emacs/site-lisp/${name} eval xinstall -m 644 [glob ${worksrcpath}/texinfo/*.info*] \ ${destroot}${prefix}/share/info/ # Need to set TeX search path eval xinstall -m 644 [glob ${worksrcpath}/tex/*.tex] \ ${destroot}${prefix}/share/emacs/site-lisp/${name} } post-activate { system "${prefix}/bin/install-info ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir" } pre-deactivate { system "${prefix}/bin/install-info --delete ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir" } notes " To use bbdb, put the following in your ~/.emacs: (require 'bbdb) (bbdb-initialize) Then you can use bbdb by typing M-x bbdb "