Ticket #21096: Portfile.new

File Portfile.new, 1.5 KB (added by diane@…, 15 years ago)

Update the macports file to build with the XCode 3.2 patch.

Line 
1# $Id: Portfile 56932 2009-09-03 17:05:35Z toby@macports.org $
2PortSystem  1.0
3name                lbdb
4version           0.36
5revision        0
6categories      mail
7description     The little brother's database for the mutt mail reader.
8long_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.
14homepage            http://www.spinnaker.de/lbdb/
15platforms           darwin freebsd
16maintainers       loria.fr:reilles
17master_sites    http://www.spinnaker.de/debian/
18checksums       sha1 05f2535967274bc6b05061ff54a01fa308981b4a
19distname      ${name}_${version}
20worksrcdir    ${name}-${version}
21
22# The m_osx_addressbook module's Xcode project is too old. (#21051)
23platform 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
29configure.dir ${workpath}/${name}-${version}
30configure.args  --sysconfdir=${prefix}/etc/ --libdir=${prefix}/lib/lbdb/ \
31                                --mandir=${prefix}/share/man     
32configure.cflags-append -I${prefix}/include
33build.dir        ${configure.dir}
34destroot.target  install
35destroot.destdir install_prefix=${destroot}
36
37post-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
42variant gpg { configure.args-append --with-gpg
43                                depends_lib-append port:gnupg }
44variant ldap { depends_lib-append port:p5-perl-ldap }