Ticket #21718: patch-Portfile.diff

File patch-Portfile.diff, 1.3 KB (added by royliu@…, 15 years ago)

The Portfile diff.

  • Portfile

    old new  
    2323                gimp.app.skel.tar.gz md5 66ad4912a3c71056c479c8eeef11fd43
    2424worksrcdir      ScriptExec
    2525
     26patchfiles      patch-main.c.diff
     27
    2628pre-patch {
    2729    foreach f {Info.plist PkgInfo} {
    2830        delete ${workpath}/Gimp.app/Contents/$f
     
    3335    reinplace "s|__VERSION__|${version}|g" ${workpath}/Gimp.app/Contents/Info.plist
    3436}
    3537
    36 patch {
     38post-patch {
    3739    reinplace "s|`dirname \\\\\"\$0\\\\\"`|${prefix}|g" \
    3840        ${workpath}/Gimp.app/Contents/Resources/openDoc \
    3941        ${workpath}/Gimp.app/Contents/Resources/script
     
    6769post-install {
    6870    ui_msg "
    6971    If you are having problems viewing the help files when using Gimp.app,
    70             1- Make sure you have the user manual installed (port gimp-user-manual)
    71             2- Add the following line to ~/.gimp-2.6/gimprc :
    72                 (help-locales \"LANG\")
    73                         where LANG is your two-letters locale (fr, en, jp, ...)
     72        1- Make sure you have the user manual installed (port gimp-user-manual)
     73        2- Add the following line to ~/.gimp-2.6/gimprc :
     74            (help-locales \"LANG\")
     75                where LANG is your two-letters locale (fr, en, jp, ...)
    7476    "
    7577}
    7678