source: trunk/dports/devel/libgit2/Portfile @ 146698

Last change on this file since 146698 was 146698, checked in by devans@…, 4 years ago

libgit2, libgit2-glib: update to version 0.24.0.

  • 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 146698 2016-03-15 15:41:03Z devans@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.0 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  1b7fc19b934d45576a7492c290d165801acc1dc8 \
29                    sha256  f5cd9c1263e726b83f896cc8ba9fb0498fce725bd6cfad7f401b09cc9a7a007b
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.