1 | # $Id: Portfile 56932 2009-09-03 17:05:35Z toby@macports.org $ |
---|
2 | PortSystem 1.0 |
---|
3 | name lbdb |
---|
4 | version 0.36 |
---|
5 | revision 0 |
---|
6 | categories mail |
---|
7 | description The little brother's database for the mutt mail reader. |
---|
8 | long_description This package consists of a set of small tools, \ |
---|
9 | which collect mail addresses from several sources \ |
---|
10 | and offer these addresses to the mutt external \ |
---|
11 | query feature. \ |
---|
12 | It can use Emacs bbdb, abook, ldap and evec mac os \ |
---|
13 | x addressbook for query. |
---|
14 | homepage http://www.spinnaker.de/lbdb/ |
---|
15 | platforms darwin freebsd |
---|
16 | maintainers loria.fr:reilles |
---|
17 | master_sites http://www.spinnaker.de/debian/ |
---|
18 | checksums sha1 05f2535967274bc6b05061ff54a01fa308981b4a |
---|
19 | distname ${name}_${version} |
---|
20 | worksrcdir ${name}-${version} |
---|
21 | |
---|
22 | # The m_osx_addressbook module's Xcode project is too old. (#21051) |
---|
23 | platform darwin 10 { |
---|
24 | #configure.args-append ac_cv_path_XCODEBUILD=no ac_cv_path_PBXBUILD=no |
---|
25 | patch.pre_args -p1 |
---|
26 | patchfiles patch-make-abquery.diff |
---|
27 | } |
---|
28 | |
---|
29 | configure.dir ${workpath}/${name}-${version} |
---|
30 | configure.args --sysconfdir=${prefix}/etc/ --libdir=${prefix}/lib/lbdb/ \ |
---|
31 | --mandir=${prefix}/share/man |
---|
32 | configure.cflags-append -I${prefix}/include |
---|
33 | build.dir ${configure.dir} |
---|
34 | destroot.target install |
---|
35 | destroot.destdir install_prefix=${destroot} |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | xinstall -m 755 -d ${destroot}${prefix}/share/emacs/site-lisp |
---|
39 | file copy ${configure.dir}/lbdb.el ${destroot}${prefix}/share/emacs/site-lisp |
---|
40 | } |
---|
41 | |
---|
42 | variant gpg { configure.args-append --with-gpg |
---|
43 | depends_lib-append port:gnupg } |
---|
44 | variant ldap { depends_lib-append port:p5-perl-ldap } |
---|