Changeset 30317


Ignore:
Timestamp:
Oct 24, 2007, 3:27:06 PM (10 years ago)
Author:
yves@…
Message:

2.4.0 release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/gimp-app/Portfile

    r30187 r30317  
    55
    66name            gimp-app
    7 version         2.4.0-rc1
     7version         2.4.0
    88maintainers     yves openmaintainer
    99description     Gimp.app application bundle
     
    2222worksrcdir      ScriptExec
    2323
     24pre-patch {
     25    foreach f {Info.plist PkgInfo} {
     26        delete ${workpath}/Gimp.app/Contents/$f
     27        xinstall -m 644 ${filespath}/$f ${workpath}/Gimp.app/Contents
     28    }
     29    reinplace "s|__VERSION__|${version}|g" ${workpath}/Gimp.app/Contents/Info.plist
     30}
    2431patch {
    25     cd ${workpath}/Gimp.app/Contents
    26     delete Info.plist PkgInfo
    27     xinstall -m 644 ${filespath}/Info.plist ${filespath}/PkgInfo .
    28     reinplace "s|__VERSION__|${version}|g" Info.plist
    2932    reinplace "s|`dirname \\\\\"\$0\\\\\"`|${prefix}|g" \
    30         Resources/openDoc Resources/script
     33        ${workpath}/Gimp.app/Contents/Resources/openDoc \
     34        ${workpath}/Gimp.app/Contents/Resources/script
    3135}
    3236
    3337destroot {
    3438    xinstall -m 755 \
     39        ${workpath}/Gimp.app/Contents/Resources/bin/getdisplay.sh \
     40        ${destroot}${prefix}/bin
     41}
     42post-destroot {
     43    foreach f {Gimp.icns bin etc lib share} {
     44        delete ${workpath}/Gimp.app/Contents/Resources/$f
     45    }
     46    xinstall -m 644 -W ${filespath} Gimp.icns xcf.icns \
     47        ${workpath}/Gimp.app/Contents/Resources
     48
     49    xinstall -m 755 \
    3550        ${worksrcpath}/build/Deployment/ScriptExec.app/Contents/MacOS/ScriptExec \
    36             ${workpath}/Gimp.app/Contents/MacOS/Gimp
    37 
    38     cd ${workpath}/Gimp.app/Contents/Resources
    39     xinstall -m 755 bin/getdisplay.sh ${destroot}${prefix}/bin
    40     delete Gimp.icns bin etc lib share
    41     xinstall -m 644 ${filespath}/Gimp.icns .
    42     xinstall -m 644 ${filespath}/xcf.icns .
     51        ${workpath}/Gimp.app/Contents/MacOS/Gimp
    4352
    4453    xinstall -d ${destroot}/Applications/MacPorts
     
    4857post-install {
    4958    ui_msg "
    50         If you are having problems viewing the help files when using Gimp.app,
    51                 1- Make sure you have the user manual installed (port gimp-user-manual)
    52                 2- Add the following line to ~/.gimp-2.4/gimprc :
    53                         (help-locales \"LANG\")
    54                                 where LANG is your two-letters locale (fr, en, jp, ...)
    55         "
     59    If you are having problems viewing the help files when using Gimp.app,
     60            1- Make sure you have the user manual installed (port gimp-user-manual)
     61            2- Add the following line to ~/.gimp-2.4/gimprc :
     62                (help-locales \"LANG\")
     63                        where LANG is your two-letters locale (fr, en, jp, ...)
     64    "
    5665}
     66
     67variant quartz {
     68    patch {}
     69    destroot {
     70        foreach f {openDoc script} {
     71            delete ${workpath}/Gimp.app/Contents/Resources/$f
     72            ln -s ${prefix}/bin/gimp \
     73                ${workpath}/Gimp.app/Contents/Resources/$f
     74        }
     75    }
     76}
     77
Note: See TracChangeset for help on using the changeset viewer.