source: trunk/dports/devel/libgit2/Portfile

Last change on this file was 153539, checked in by devans@…, 10 months ago

libgit2: update to version 0.24.2.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 153539 2016-10-04 03:40:09Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           cmake 1.0
7
8cmake.out_of_source yes
9
10# don't forget to update libgit2-glib as well
11github.setup        libgit2 libgit2 0.24.2 v
12epoch               1
13categories          devel
14platforms           darwin
15maintainers         juanrgar devans
16license             GPL-2
17
18description         A portable, pure C implementation of the Git core methods
19
20long_description    libgit2 is a portable, pure C implementation of the \
21                    Git core methods provided as a re-entrant linkable \
22                    library with a solid API, allowing you to write native \
23                    speed custom Git applications in any language which \
24                    supports C bindings.
25
26homepage            http://libgit2.github.com/
27
28checksums           rmd160  8cf4b8c4ee25a891267317138ffcb5a0f03eec9a \
29                    sha256  41c371a01e5f702cb0c1563e1a35eab37e126090a2ef212c23a6bb3d1097712b
30
31depends_build-append \
32                    port:pkgconfig
33
34depends_lib         port:curl \
35                    port:libiconv \
36                    port:libssh2 \
37                    path:lib/libssl.dylib:openssl \
38                    port:zlib
39
40patchfiles          patch-strnlen-posix.h.diff
41
42configure.args-append \
43                    -DTHREADSAFE:BOOL=OFF \
44                    -DUSE_ICONV:BOOL=ON
45
46variant threadsafe description {Build with threadsafe option} {
47    configure.args-replace \
48                    -DTHREADSAFE:BOOL=OFF -DTHREADSAFE:BOOL=ON
49}
50
51default_variants    +threadsafe
52
53livecheck.regex     "archive/v(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.