source: trunk/dports/www/bbdb/Portfile

Last change on this file was 87413, checked in by ryandesign@…, 6 years ago

bbdb: new port, version 2.35; see #32149

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
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: Portfile 87413 2011-11-20 08:23:23Z ryandesign@macports.org $
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           rmd160  ea212acd00c18b9a8c3a8b1aa4b1c5727ea3a55c \
42                    sha256  c71a46fcd9ae4d68d9fa970d175ff84cd85780dc3f9aec603688deff252aedb8
43
44configure.pre_args  --prefix=${destroot}${prefix}
45
46configure.args      --infodir=${destroot}${prefix}/share/info
47
48variant emacs_app description {Use emacs-app instead of emacs} {
49    depends_lib-append      port:emacs-app
50    depends_lib-delete      port:emacs
51    configure.args-append   --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
52}
53
54use_parallel_build  no
55
56destroot {
57    xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp/${name}
58    eval xinstall -m 644 [glob ${worksrcpath}/lisp/*.el*] \
59        ${destroot}${prefix}/share/emacs/site-lisp/${name}
60   
61    eval xinstall -m 644 [glob ${worksrcpath}/texinfo/*.info*] \
62        ${destroot}${prefix}/share/info/
63   
64    # Need to set TeX search path
65    eval xinstall -m 644 [glob ${worksrcpath}/tex/*.tex] \
66        ${destroot}${prefix}/share/emacs/site-lisp/${name}
67}
68
69post-activate {
70    system "${prefix}/bin/install-info ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir"
71}
72
73pre-deactivate {
74    system "${prefix}/bin/install-info --delete ${prefix}/share/info/bbdb.info ${prefix}/share/info/dir"
75}
76
77notes "
78To use bbdb, put the following in your ~/.emacs:
79
80(require 'bbdb)
81(bbdb-initialize)
82
83Then you can use bbdb by typing M-x bbdb
84"
Note: See TracBrowser for help on using the repository browser.