Changeset 40552 for trunk/dports


Ignore:
Timestamp:
Oct 6, 2008, 8:53:18 PM (16 years ago)
Author:
jmr@…
Message:

Etoile-devel: remove use of cd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnustep/Etoile-devel/Portfile

    r30229 r40552  
    5757post-destroot {
    5858
    59     cd ${destroot}${prefix}
     59    xinstall -d ${destroot}${prefix}/GNUstep/System/Library/Etoile
     60    xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
     61        ${destroot}${prefix}/GNUstep/System/Library/Etoile
    6062
    61     xinstall -d GNUstep/System/Library/Etoile
    62     xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
    63         GNUstep/System/Library/Etoile
     63    xinstall -d ${destroot}${prefix}/share/xsessions
     64    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
     65        ${destroot}${prefix}/share/xsessions
    6466
    65     xinstall -d share/xsessions
    66     xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
    67         share/xsessions
    68 
    69     set chan [open bin/etoile w]
     67    set chan [open ${destroot}${prefix}/bin/etoile w]
    7068        puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
    7169        close $chan
    72         file attributes bin/etoile -permissions 0755
     70        file attributes ${destroot}${prefix}/bin/etoile -permissions 0755
    7371
    74     xinstall -d GNUstep/Local/Library/Themes
     72    xinstall -d ${destroot}${prefix}/GNUstep/Local/Library/Themes
    7573    copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
    76         GNUstep/Local/Library/Themes
     74        ${destroot}${prefix}/GNUstep/Local/Library/Themes
    7775
    7876    copy ${worksrcpath}/Services/User/Calc/Calc.app \
    79         GNUstep/Local/Applications
    80     cd GNUstep/Local/Tools
    81     ln -s ../Applications/Calc.app/Calc
     77        ${destroot}${prefix}/GNUstep/Local/Applications
    8278
    83     cd ../Library/Headers
    84     delete AddressBook
    85     ln -s Addresses AddressBook
     79    ln -s ${destroot}${prefix}/GNUstep/Local/Applications/Calc.app/Calc \
     80        ${destroot}${prefix}/GNUstep/Local/Tools
     81
     82    delete ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
     83    ln -s ${destroot}${prefix}/GNUstep/Local/Library/Headers/Addresses \
     84        ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
    8685}
    8786
Note: See TracChangeset for help on using the changeset viewer.