1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name bbdb |
---|
6 | version 2.35 |
---|
7 | categories www |
---|
8 | maintainers vishketan |
---|
9 | platforms darwin |
---|
10 | supported_archs noarch |
---|
11 | |
---|
12 | description The Insidious Big Brother Database |
---|
13 | long_description \ |
---|
14 | The Insidious Big Brother Database (BBDB) is a contact management utility. \ |
---|
15 | It is tightly integrated with several mail and news readers,\ |
---|
16 | allowing it to create database entries directly from mail and news \ |
---|
17 | messages. As is usual with applications for Emacs, this record \ |
---|
18 | creation can be configured in many ways, ranging from a boolean \ |
---|
19 | create\/don't create setting to creation based on the result of a \ |
---|
20 | user-supplied function.\ |
---|
21 | \ |
---|
22 | Database records can be used to store many types of information,\ |
---|
23 | from name and address to URLs and X-Face images. This information can\ |
---|
24 | be displayed when a message from an entity named in a database record\ |
---|
25 | is recieved. In addition, messages from database members can be tagged\ |
---|
26 | in the Gnus Summary Buffer, and Gnus scoring can be configured based\ |
---|
27 | on the contents of database records. Supercite citations can even be\ |
---|
28 | preset through the use of records in the BBDB.\ |
---|
29 | |
---|
30 | |
---|
31 | homepage http://bbdb.sourceforge.net/ |
---|
32 | master_sites sourceforge |
---|
33 | distname bbdb-${version} |
---|
34 | |
---|
35 | depends_lib port:emacs |
---|
36 | |
---|
37 | depends_build port:texinfo |
---|
38 | |
---|
39 | checksums sha256 3fb1316e2ed74d47ca61187fada550e58797467bd9e8ad67343ed16da769f916 |
---|
40 | |
---|
41 | configure.args --prefix=${destroot}${prefix} \ |
---|
42 | --infodir=${destroot}${prefix}/share/info |
---|
43 | |
---|
44 | variant emacs_app description "If your Emacs is emacs-app" { |
---|
45 | depends_lib-append port:emacs-app |
---|
46 | depends_lib-delete port:emacs |
---|
47 | configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs |
---|
48 | } |
---|
49 | |
---|
50 | use_parallel_build no |
---|
51 | |
---|
52 | destroot { |
---|
53 | xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name} |
---|
54 | eval xinstall -m 640 [glob ${worksrcpath}/lisp/*.el*] \ |
---|
55 | ${destroot}${prefix}/share/emacs/site-lisp/${name} |
---|
56 | |
---|
57 | eval xinstall -m 640 [glob ${worksrcpath}/texinfo/*.info*] \ |
---|
58 | ${destroot}${prefix}/share/info/ |
---|
59 | |
---|
60 | # Need to set TeX search path |
---|
61 | eval xinstall -m 640 [glob ${worksrcpath}/tex/*.tex] \ |
---|
62 | ${destroot}${prefix}/share/emacs/site-lisp/${name} |
---|
63 | } |
---|
64 | |
---|
65 | post-activate { |
---|
66 | system "${prefix}/bin/install-info ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir" |
---|
67 | |
---|
68 | ui_msg "To use bbdb, put the following in your ~/.emacs:" |
---|
69 | ui_msg "(require 'bbdb)" |
---|
70 | ui_msg "(bbdb-initialize)" |
---|
71 | ui_msg "" |
---|
72 | ui_msg "Then you can use bbdb by typing M-x bbdb" |
---|
73 | ui_msg "" |
---|
74 | } |
---|
75 | |
---|
76 | pre-deactivate { |
---|
77 | system "${prefix}/bin/install-info --delete ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir" |
---|
78 | } |
---|