source: trunk/dports/devel/bazaar/Portfile

Last change on this file was 111941, checked in by jeremyhu@…, 4 years ago

bazaar: Actually, use our gnutar everywhere.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 111941 2013-10-06 18:45:44Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name              bazaar
7version           1.4.2
8revision          3
9distname          bazaar_${version}
10categories        devel
11platforms         darwin
12license           GPL-2
13installs_libs     no
14maintainers       jmr openmaintainer
15description       baz (Bazaar 1), a GNU Arch client
16long_description \
17    NOTE: this is baz, aka Bazaar 1. If you want Bazaar 2, use the bzr port. \
18    Bazaar is intended to be an implementation of the GNU Arch \
19    protocol that open source developers both want to use, and \
20    love using. It is a drop-in replacement for tla. \
21    GNU arch is a revision control system, similar in purpose to \
22    tools such as CVS, SCCS, and Subversion. It is used to keep \
23    track of the changes made to a source tree and to help \
24    programmers combine and otherwise manipulate changes made by \
25    multiple people or at different times.
26homepage          http://bazaar-vcs.org/Baz1x
27
28master_sites      http://bazaar-vcs.org/releases/src/obsolete
29checksums         md5 6e61d7aeec990a801977ee6cdc3958d5 \
30                  sha1 030fcf1d2de6392c6ab3c23d7af1fddbbeb65a73 \
31                  rmd160 8a9d8159ead224b24ab84d0fd6cbc23ac004eb51
32
33worksrcdir  thelove@canonical.com---dists--bazaar--1.4
34patchfiles  patch-pfs.c.diff patch-pfs-sftp.c.diff patch-unit-sftp.c.diff
35
36configure.cflags-append -L${prefix}/lib
37configure.dir    ${workpath}/thelove@canonical.com---dists--bazaar--1.4/build
38build.dir        ${configure.dir}
39
40pre-configure {
41    file mkdir ${configure.dir}
42}
43configure.cmd    ../src/configure
44configure.args   --with-cc=${configure.cc}
45
46depends_build-append  bin:gnutar:gnutar
47configure.args-append --with-gnu-tar=gnutar
48
49use_parallel_build no
50build.env CFLAGS="-g -O2 -Wall -fno-strict-aliasing \
51-I${prefix}/include -L${prefix}/lib \
52-lintl -lneon -lgpgme -lpth"
53
54destroot.env CFLAGS="-I${prefix}/include -L${prefix}/lib -lintl -lneon -lgpgme" \
55LDFLAGS="-L${prefix}/lib"
56destroot.destdir prefix=${destroot}${prefix}
57post-destroot   {
58    file rename ${destroot}${prefix}/bin/annotate ${destroot}${prefix}/bin/annotate-baz
59}
60
61depends_lib    port:neon  port:gpgme
62
63livecheck.type  none
Note: See TracBrowser for help on using the repository browser.