Ticket #54106: cgit_partial_update.diff

File cgit_partial_update.diff, 2.7 KB (added by ctreleaven (Craig Treleaven), 7 years ago)
  • www/cgit/Portfile

    diff --git a/www/cgit/Portfile b/www/cgit/Portfile
    index 50de5b6..a872d6b 100644
    a b  
    33PortSystem 1.0
    44
    55name            cgit
    6 version         0.9.0.3
    7 revision        2
    8 set git_version 1.7.4
     6version         1.1
     7
     8# See Makefile GIT_VER
     9set git_version 2.11.0
    910categories      www devel
    1011license         GPL-2
    1112maintainers     nomaintainer
    1213description     A fast web interface for the git source code management system
    13 homepage        http://hjemli.net/git/cgit/
     14homepage        https://git.zx2c4.com/cgit/
    1415platforms       darwin
    1516# change dist_subdir to 'git' with next version update
    16 dist_subdir     git-core
     17#dist_subdir     git
    1718
    1819long_description \
    1920    cgit is an attempt to create a fast web interface for the git scm, using a \
    2021    builtin cache to decrease server io-pressure. It can run on any \
    2122    CGI-capable web server.
    2223
    23 use_bzip2       yes
     24use_xz              yes
    2425set cgit_distfile   ${distfiles}
    2526set git_distname    git-${git_version}
    2627set git_distfile    ${git_distname}${extract.suffix}
    2728distfiles       ${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
     31master_sites        ${homepage}/snapshot:cgit \
     32                    http://www.kernel.org/pub/software/scm/git:git
     33checksums           cgit-1.1.tar.xz \
     34                    rmd160  9ad96a56d17ae060b73e8d576d0c065aa590fcfb \
     35                    sha256  0889af29be15fc981481caa09579f982b9740fe9fd2860ab87dff286f4635890 \
     36                    git-2.11.0.tar.xz \
     37                    rmd160  dc2c45d6763732129fb8e383877ee434972f79e8 \
     38                    sha256  7e7e8d69d494892373b87007674be5820a4bc1ef596a0117d03ea3169119fd0b
    3639
    3740depends_lib     port:git \
    3841                path:lib/libssl.dylib:openssl \
    use_configure no 
    6871variant universal {}
    6972configure.ldflags-append -liconv
    7073
    71 build.args      CC="${configure.cc} [get_canonical_archflags cc]"
     74build.args      CC="${configure.cc} [get_canonical_archflags cc]" \
     75                NO_GETTEXT=1 NO_LUA=1 V=1
    7276build.env       CFLAGS="${configure.cflags}" \
    7377                LDFLAGS="${configure.ldflags}"
    7478