Ticket #39088: Portfile.diff

File Portfile.diff, 1.1 KB (added by cooljeanius (Eric Gallager), 11 years ago)

patch to apply to mpvim's portfile

  • /opt/local/var/macports/sources/

    old new  
    55
    66name                mpvim
    77version             104461
     8revision            1
    89categories-append   editors macports
    910platforms           darwin
    1011maintainers         gwmail.gwu.edu:egall larryv cal openmaintainer
     
    2425svn.url             https://svn.macports.org/repository/macports/contrib/mpvim
    2526svn.revision        ${version}
    2627
    27 depends_run-append  path:bin/vim:vim
     28patchfiles-append   patch-README.diff
     29
     30depends_run-append  bin:vim:vim
    2831
    2932worksrcdir          ${name}
    3033
     34post-patch {
     35    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/README
     36}
     37
    3138use_configure       no
    3239
    3340destroot.destdir    prefix=${destroot}${prefix}/share/vim/vimfiles
     41
     42post-destroot {
     43    xinstall -d ${destroot}${prefix}/share/doc/${name}
     44    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     45}