Ticket #28205: portfile.patch

File portfile.patch, 1.3 KB (added by evanj@…, 14 years ago)

Unified diff against the current portfile

  • Portfile

    old new  
    44PortSystem      1.0
    55
    66name            scite
    7 version         1.79
     7version         2.23
    88categories      editors
    99platforms       darwin
    1010maintainers     nomaintainer
     
    2323depends_build   port:pkgconfig
    2424depends_lib     port:gtk2
    2525
    26 checksums       md5     02a0d68f0c33c01c9a2c9d69c295acea \
    27                 sha1    43f343b75785b077b6a93b5be8f5fc7544a1a005 \
    28                 rmd160  e36f0e394d1afea007840ea1bb4fc660b0a59f1b
     26checksums       md5     8802f8a7f72bad2af44c3c277d57c415 \
     27                sha1    8ffaee5a9eb5a0d7aec3a24ffce84bfbdb78cbe0
    2928
    3029worksrcdir      ${name}/gtk
    3130
    32 patchfiles      patch-scintilla-gtk-makefile.diff \
    33                 patch-scite-gtk-makefile.diff
    34 
    35 post-patch {
    36     reinplace -E "s/#ifdef (PLAT_MACOSX|__APPLE__)/#if PLAT_MACOSX/" \
    37         ${workpath}/scintilla/include/Platform.h \
    38         ${workpath}/scintilla/src/Editor.cxx
    39     reinplace s/-pedantic//g ${worksrcpath}/makefile \
    40                              ${workpath}/${name}/src/cpp.properties \
    41                              ${workpath}/scintilla/gtk/makefile
    42 }
     31patchfiles      scite-makefile.diff
    4332
    4433use_configure   no
    4534