diff --git a/www/cgit/Portfile b/www/cgit/Portfile
index 50de5b6..a872d6b 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name cgit |
6 | | version 0.9.0.3 |
7 | | revision 2 |
8 | | set git_version 1.7.4 |
| 6 | version 1.1 |
| 7 | |
| 8 | # See Makefile GIT_VER |
| 9 | set git_version 2.11.0 |
9 | 10 | categories www devel |
10 | 11 | license GPL-2 |
11 | 12 | maintainers nomaintainer |
12 | 13 | description A fast web interface for the git source code management system |
13 | | homepage http://hjemli.net/git/cgit/ |
| 14 | homepage https://git.zx2c4.com/cgit/ |
14 | 15 | platforms darwin |
15 | 16 | # change dist_subdir to 'git' with next version update |
16 | | dist_subdir git-core |
| 17 | #dist_subdir git |
17 | 18 | |
18 | 19 | long_description \ |
19 | 20 | cgit is an attempt to create a fast web interface for the git scm, using a \ |
20 | 21 | builtin cache to decrease server io-pressure. It can run on any \ |
21 | 22 | CGI-capable web server. |
22 | 23 | |
23 | | use_bzip2 yes |
| 24 | use_xz yes |
24 | 25 | set cgit_distfile ${distfiles} |
25 | 26 | set git_distname git-${git_version} |
26 | 27 | set git_distfile ${git_distname}${extract.suffix} |
27 | 28 | distfiles ${cgit_distfile}:cgit ${git_distfile}:git |
28 | | master_sites ${homepage}snapshot:cgit \ |
29 | | http://www.kernel.org/pub/software/scm/git:git |
30 | | checksums ${cgit_distfile} \ |
31 | | rmd160 a426468889aff48a19849acd01c9660b37cb0c0f \ |
32 | | sha256 53ccf0c826f91c2184ec29b1b9ab8a6f42e0ef2e6fa9042c3759e2a2dc81baa5 \ |
33 | | ${git_distfile} \ |
34 | | rmd160 a064d7a5b2d3fae6171ca91a03082eb46d7bb9b7 \ |
35 | | sha256 8e260b9e5dfb46a35f26e3db450c2dabb4d1df254bfb2820779945a1ecbcef51 |
| 29 | # https://git.zx2c4.com/cgit/snapshot/cgit-1.1.tar.xz |
| 30 | # https://www.kernel.org/pub/software/scm/git/git-2.11.0.tar.xz |
| 31 | master_sites ${homepage}/snapshot:cgit \ |
| 32 | http://www.kernel.org/pub/software/scm/git:git |
| 33 | checksums cgit-1.1.tar.xz \ |
| 34 | rmd160 9ad96a56d17ae060b73e8d576d0c065aa590fcfb \ |
| 35 | sha256 0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890 \ |
| 36 | git-2.11.0.tar.xz \ |
| 37 | rmd160 dc2c45d6763732129fb8e383877ee434972f79e8 \ |
| 38 | sha256 7e7e8d69d494892373b87007674be5820a4bc1ef596a0117d03ea3169119fd0b |
36 | 39 | |
37 | 40 | depends_lib port:git \ |
38 | 41 | path:lib/libssl.dylib:openssl \ |
… |
… |
use_configure no |
68 | 71 | variant universal {} |
69 | 72 | configure.ldflags-append -liconv |
70 | 73 | |
71 | | build.args CC="${configure.cc} [get_canonical_archflags cc]" |
| 74 | build.args CC="${configure.cc} [get_canonical_archflags cc]" \ |
| 75 | NO_GETTEXT=1 NO_LUA=1 V=1 |
72 | 76 | build.env CFLAGS="${configure.cflags}" \ |
73 | 77 | LDFLAGS="${configure.ldflags}" |
74 | 78 | |