Ticket #4352: Portfile

File Portfile, 1.8 KB (added by z3022016@…, 19 years ago)

The bazaar Portfile

Line 
1# $Id: $
2PortSystem        1.0
3name              bazaar
4version           1.4.2
5distname          bazaar_${version}
6categories        devel
7maintainers       *unknown*
8description       an improved GNU Arch client
9long_description \
10        Bazaar is intended to be an implementation of the GNU Arch \
11        protocol that open source developers both want to use, and \
12        love using. It is a drop-in replacement for tla. \
13        GNU arch is a revision control system, similar in purpose to \
14        tools such as CVS, SCCS, and Subversion. It is used to keep \
15        track of the changes made to a source tree and to help \
16        programmers combine and otherwise manipulate changes made by \
17        multiple people or at different times.
18homepage          http://bazaar.canonical.com/
19
20master_sites      http://bazaar.canonical.com/releases/src/
21checksums    md5 6e61d7aeec990a801977ee6cdc3958d5
22
23configure.env   CFLAGS="-I'${prefix}/include' -L'${prefix}/lib'"
24configure.dir    ${workpath}/thelove@canonical.com---dists--bazaar--1.4/build
25build.dir        ${configure.dir}
26
27pre-configure {
28        file mkdir ${configure.dir}
29}
30configure.cmd    ../src/configure
31
32build.env CFLAGS="-g -O2 -Wall -fno-strict-aliasing \
33-Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations \
34-Wbad-function-cast -Wno-pointer-sign -I'${prefix}/include' -L'${prefix}/lib' \
35-lintl -lneon -lgpgme -lpth"
36
37destroot.env CFLAGS="-I'${prefix}/include' -L'${prefix}/lib' -lintl -lneon -lgpgme" \
38LDFLAGS="-L'${prefix}/lib'"
39destroot.destdir prefix=${destroot}${prefix}
40
41variant darwin {
42        if {${os.version} < 8} {
43                depends_lib           bin:gdiff:diffutils
44                depends_lib           bin:gpatch:gpatch
45                depends_lib           bin:gnutar:gnutar
46                configure.args-append --with-gnu-diff=${prefix}/bin/gdiff \
47                                      --with-gnu-diff3=${prefix}/bin/gdiff3
48        }
49        depends_lib           lib:libneon:neon
50        depends_lib           lib:libgpgme:gpgme
51}