source: trunk/dports/mail/lbdb/Portfile

Last change on this file was 146583, checked in by khindenburg@…, 19 months ago

hevea, bibtex2html, lbdb, camlimages, auctex, tom, bigloo: set nomaintainer #50525

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 146583 2016-03-12 20:12:07Z ryandesign@macports.org $
2
3PortSystem  1.0
4
5name                lbdb
6version           0.36
7revision        2
8categories      mail
9license         GPL-2
10description     The little brother's database for the mutt mail reader.
11long_description        This package consists of a set of small tools, \
12                        which collect mail addresses from several sources \
13                        and offer these addresses to the mutt external \
14                        query feature. \
15                        It can use Emacs bbdb, abook, ldap and evec mac os \
16                        x addressbook for query.
17homepage            http://www.spinnaker.de/lbdb/
18platforms           darwin freebsd
19maintainers       nomaintainer
20master_sites    http://www.spinnaker.de/debian/
21checksums       sha1 05f2535967274bc6b05061ff54a01fa308981b4a
22patchfiles  lbdb.patch Makefile.in.patch
23distname      ${name}_${version}
24worksrcdir    ${name}-${version}
25
26configure.dir ${workpath}/${name}-${version}
27configure.args  --sysconfdir=${prefix}/etc/ --libdir=${prefix}/lib/lbdb/ \
28                                --mandir=${prefix}/share/man
29configure.cflags-append -I${prefix}/include
30post-patch  {
31        file delete ${configure.dir}/ABQuery/ABQuery.pbproj/project.pbxproj
32        file delete ${configure.dir}/ABQuery/ABQuery.pbproj
33        reinplace "s|sed|gsed|g" ${configure.dir}/m_muttalias.sh.in
34}
35depends_run      port:gsed
36build.dir        ${configure.dir}
37destroot.target  install
38destroot.destdir install_prefix=${destroot}
39
40post-destroot {
41        xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp
42        file copy ${configure.dir}/lbdb.el ${destroot}${prefix}/share/emacs/site-lisp
43}
44
45variant gpg conflicts gpg2 description {Add support for GnuPG version 1} {
46                                configure.args-append --with-gpg
47                                depends_lib-append port:gnupg }
48variant gpg2 conflicts gpg description {Add support for GnuPG version 2} {
49                                configure.args-append --with-gpg=${prefix}/bin/gpg2
50                                depends_lib-append port:gnupg2 }
51variant ldap { depends_lib-append port:p5-perl-ldap }
Note: See TracBrowser for help on using the repository browser.