1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name bazaar |
---|
4 | version 1.4.2 |
---|
5 | distname bazaar_${version} |
---|
6 | categories devel |
---|
7 | maintainers *unknown* |
---|
8 | description an improved GNU Arch client |
---|
9 | long_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. |
---|
18 | homepage http://bazaar.canonical.com/ |
---|
19 | |
---|
20 | master_sites http://bazaar.canonical.com/releases/src/ |
---|
21 | checksums md5 6e61d7aeec990a801977ee6cdc3958d5 |
---|
22 | |
---|
23 | configure.env CFLAGS="-I'${prefix}/include' -L'${prefix}/lib'" |
---|
24 | configure.dir ${workpath}/thelove@canonical.com---dists--bazaar--1.4/build |
---|
25 | build.dir ${configure.dir} |
---|
26 | |
---|
27 | pre-configure { |
---|
28 | file mkdir ${configure.dir} |
---|
29 | } |
---|
30 | configure.cmd ../src/configure |
---|
31 | |
---|
32 | build.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 | |
---|
37 | destroot.env CFLAGS="-I'${prefix}/include' -L'${prefix}/lib' -lintl -lneon -lgpgme" \ |
---|
38 | LDFLAGS="-L'${prefix}/lib'" |
---|
39 | destroot.destdir prefix=${destroot}${prefix} |
---|
40 | |
---|
41 | variant 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 | } |
---|