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