Ticket #32149: Portfile.3

File Portfile.3, 3.2 KB (added by vishketan@…, 13 years ago)

Checksums changed

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