Ticket #30242: Portfile

File Portfile, 1.2 KB (added by dackze+macports@…, 13 years ago)
Line 
1PortSystem          1.0
2PortGroup           cmake 1.0
3
4name                libgit2
5version             0.14.0
6description         A portable, pure C implementation of the Git core methods
7long_description    libgit2 is a portable, pure C implementation of the \
8                    Git core methods provided as a re-entrant linkable \
9                    library with a solid API, allowing you to write native \
10                    speed custom Git applications in any language which \
11                    supports C bindings.
12categories          devel
13platforms           darwin
14maintainers         openmaintainer
15license             GPL-2
16
17homepage            http://libgit2.github.com/
18master_sites        https://github.com/libgit2/libgit2/downloads
19distname            ${name}-${version}
20
21checksums           sha1    573fdd964fa2342a2e7205aaacf9880b5341ca13 \
22                    rmd160  2cd8f01f920f51fbb2180b2b75d8e1f0d9eb4985
23
24post-extract {
25    file mkdir ${workpath}/build
26}
27
28configure.post_args ../${distname}
29configure.dir       ${workpath}/build
30build.dir           ${workpath}/build
31
32livecheck.url       https://github.com/libgit2/libgit2/downloads
33livecheck.regex     ${name}-(\\d+\\.\\d+(\\.\\d+)+)