Ticket #21718: patch-Portfile.diff
File patch-Portfile.diff, 1.3 KB (added by royliu@…, 15 years ago) |
---|
-
Portfile
old new 23 23 gimp.app.skel.tar.gz md5 66ad4912a3c71056c479c8eeef11fd43 24 24 worksrcdir ScriptExec 25 25 26 patchfiles patch-main.c.diff 27 26 28 pre-patch { 27 29 foreach f {Info.plist PkgInfo} { 28 30 delete ${workpath}/Gimp.app/Contents/$f … … 33 35 reinplace "s|__VERSION__|${version}|g" ${workpath}/Gimp.app/Contents/Info.plist 34 36 } 35 37 36 p atch {38 post-patch { 37 39 reinplace "s|`dirname \\\\\"\$0\\\\\"`|${prefix}|g" \ 38 40 ${workpath}/Gimp.app/Contents/Resources/openDoc \ 39 41 ${workpath}/Gimp.app/Contents/Resources/script … … 67 69 post-install { 68 70 ui_msg " 69 71 If you are having problems viewing the help files when using Gimp.app, 70 71 72 73 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, ...) 74 76 " 75 77 } 76 78