source: trunk/dports/devel/bsdiff/Portfile @ 91442

Last change on this file since 91442 was 91442, checked in by ryandesign@…, 8 years ago

bsdiff: simplify getting arch flags

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 91442 2012-04-02 01:09:29Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                bsdiff
7version             4.3
8revision            1
9categories          devel
10platforms           darwin
11maintainers         nomaintainer
12
13description         Generates and applies patches to binary files
14
15long_description    This is a pair of tools for building (bsdiff) and applying \
16                    (bspatch) binary patches. When applied to two versions of \
17                    the same executable the patches produced are significantly \
18                    smaller than those generated by other binary diff tools \
19                    (e.g. xdelta).
20
21homepage            http://www.daemonology.net/bsdiff/
22master_sites        ${homepage}
23
24checksums           rmd160  27bb255b5dd5aa56d3a076dac9ca76d238a79a04 \
25                    sha256  18821588b2dc5bf159aa37d3bcb7b885d85ffd1e19f23a0c57a58723fea85f48
26
27depends_lib         port:bzip2
28
29patchfiles          patch-bspatch.c.diff \
30                    patch-Makefile.diff
31
32use_configure       no
33
34variant universal {}
35
36build.env-append    CC="${configure.cc}" \
37                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
38                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
39
40destroot.destdir    PREFIX=${destroot}${prefix}
41
42livecheck.type      regex
43livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.