Ticket #19373: MacVim-Portfile.diff

File MacVim-Portfile.diff, 1.8 KB (added by max@…, 15 years ago)
  • dports/editors/MacVim/Portfile

    diff --git a/dports/editors/MacVim/Portfile b/dports/editors/MacVim/Portfile
    index 031410a..9f84d02 100644
    a b PortSystem 1.0 
    44
    55name                MacVim
    66set vim_version     7.2
    7 set snapshot        44
    8 set gitcommit       baf35cf73329e4676833ab9022c97f310d0134c8
     7set snapshot        45
     8set gitcommit       be6cce8f38600c1e8965c6c284608e98702651c3
    99version             ${vim_version}.snapshot${snapshot}
    10 revision            1
     10revision            0
    1111categories          editors
    1212platforms           darwin
    1313maintainers         raimue
    long_description \ 
    1818homepage            http://code.google.com/p/macvim
    1919
    2020master_sites        "http://repo.or.cz/w/MacVim.git?a=snapshot;h=${gitcommit};sf=zip;foo="
    21 checksums           md5     141291d39fe951931b318c34aa49f42f \
    22                     sha1    ea77f47d098017357e3e3d2c7aee9e498e6751a8 \
    23                     rmd160  63ac0431d43ce6c72b6ec53b7c032b0d60c1ff16
     21checksums           md5     1b557bb42bd55663b61b4e2461af9fd9 \
     22                    sha1    8dce64bb66553503b4a18075ee1eee2cbbbb46d5 \
     23                                        rmd160  b6e84f0499ce055e904c74d22e6be2f4ed58b1a5
    2424use_zip             yes
    2525worksrcdir          ${name}
    2626
    post-build { 
    5959destroot {
    6060    copy ${worksrcpath}/src/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
    6161    copy ${worksrcpath}/src/MacVim/mvim ${destroot}${prefix}/bin
     62       
     63    # Create MacVim vimdiff, view, ex equivalents
     64        ln ${destroot}${prefix}/bin/mvim ${destroot}${prefix}/bin/mvimdiff
     65        ln ${destroot}${prefix}/bin/mvim ${destroot}${prefix}/bin/mview
     66        # Link as mvimex as bin/mex conflicts with texlive
     67        ln ${destroot}${prefix}/bin/mvim ${destroot}${prefix}/bin/mvimex
    6268}
    6369
    6470test.run            yes