source: trunk/dports/net/librsync/Portfile

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

librsync: This project is gnu89

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 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 109084 2013-08-07 23:36:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                librsync
7version             0.9.7
8revision            3
9categories          net devel
10platforms           darwin
11maintainers         nomaintainer
12license             LGPL-2.1+
13
14description         library that implements the rsync remote-delta algorithm
15
16long_description    librsync is a free software library that implements \
17                    the rsync remote-delta algorithm. This algorithm allows \
18                    efficient remote updates of a file, without requiring the \
19                    old and new versions to both be present at the sending \
20                    end. The library uses a streaming design similar to that \
21                    of zlib with the aim of allowing it to be embedded into \
22                    many different applications. librsync is not \
23                    wire-compatible with rsync 2.x, and is not likely to be \
24                    in the future.
25
26homepage            http://librsync.sourceforge.net/
27master_sites        sourceforge
28
29checksums           sha256  6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6 \
30                    rmd160  39ca29334d0efabc0ee9e4d44abbe73a7d2fe831
31
32depends_lib         port:bzip2 \
33                    port:popt \
34                    port:zlib
35
36# These patches have been downloaded into the MacPorts repository since it saves
37# having to fetch them from CVS.  Respectively, they can be viewed at:
38#
39# http://librsync.cvs.sourceforge.net/librsync/librsync/doc/rdiff.1?r1=1.1&r2=1.2&view=patch
40# http://librsync.cvs.sourceforge.net/librsync/librsync/mdfour.h?r1=1.7&r2=1.8&view=patch
41# http://librsync.cvs.sourceforge.net/librsync/librsync/patch.c?r1=1.30&r2=1.31&view=patch
42patchfiles          patch-librsync__doc__rdiff.1 \
43                    patch-librsync__mdfour.h \
44                    patch-librsync__patch.c
45
46configure.cflags-append -std=gnu89
47
48configure.args      --mandir=${prefix}/share/man \
49                    --enable-shared
50
51variant universal {}
52post-configure {
53    reinplace -E "s|compiler_flags=$|compiler_flags=' [get_canonical_archflags cc]'|" ${worksrcpath}/libtool
54    reinplace -E "s|linker_flags=$|linker_flags=' [get_canonical_archflags ld]'|" ${worksrcpath}/libtool
55}
56
57test.run            yes
58test.target         check
Note: See TracBrowser for help on using the repository browser.