Ticket #45232: qgit-diff.patch

File qgit-diff.patch, 1.9 KB (added by RJVB (René Bertin), 10 years ago)
  • Portfile

    old new  
    44PortSystem          1.0
    55PortGroup           qt4 1.0
    66
     7fetch.type          git
     8git.url             git://repo.or.cz/qgit4/redivivus.git
     9git.branch          c83cb5819443adf0e3b60d1ac3a63d9cbb22e124
     10
    711name                qgit
    8 version             2.3
    9 revision            1
     12version             2.5.20140910
    1013categories          devel
    1114maintainers         free.fr:ocroquette openmaintainer
    1215description         A QT graphical interface to git repositories
    1316long_description    A QT graphical interface to git repositories
    1417
    15 homepage            http://sourceforge.net/projects/qgit/
     18homepage            http://libre.tibirna.org/projects/qgit
     19#master_sites        http://libre.tibirna.org/attachments/download/9/
     20distname            ${name}-${version}
    1621platforms           darwin
    1722
    18 use_bzip2           yes
     23#use_gz             yes
    1924worksrcdir          ${name}
    2025
    21 master_sites        sourceforge
    22 
    23 checksums           sha1    6a75079e786a55d1d23a2752c0d93099af8aafd3 \
    24                     rmd160  c117cb7f9985045891f20981ce64f00c5741699e
    25 
    2626depends_lib-append  port:git
    2727
    2828patchfiles          patch_src_namespace_def.cpp.diff  patch_src_qgit.cpp.diff
     
    5151configure.post_args
    5252
    5353destroot {
    54     copy ${worksrcpath}/bin/qgit.app ${destroot}${applications_dir}
     54    xinstall -m 755 -d ${destroot}${qt_apps_dir}
     55    copy ${worksrcpath}/bin/qgit.app ${destroot}${qt_apps_dir}
    5556
    5657    # Also link to ${prefix}/bin for easier access from the command line
    5758    # Especially useful since qgit is supposed to be started from
    5859    # the GIT repository location.
    59     ln -s ${applications_dir}/qgit.app/Contents/MacOS/qgit ${destroot}${prefix}/bin
     60    ln -s ${qt_apps_dir}/qgit.app/Contents/MacOS/qgit ${destroot}${prefix}/bin
    6061}
     62
     63#livecheck.url    http://libre.tibirna.org/projects/qgit/files
     64#livecheck.regex  (\\d+(\\.\\d+)+)