Changeset 26374


Ignore:
Timestamp:
Jun 20, 2007, 6:47:09 PM (10 years ago)
Author:
yves@…
Message:

Change system calls to tcl and find a better variant name

File:
1 edited

Legend:

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

    r26328 r26374  
    7474    cd ${destroot}${prefix}
    7575    xinstall -d GNUstep/Local/Library/Themes
    76     file copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
     76    copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
    7777        GNUstep/Local/Library/Themes
    78     file copy ${worksrcpath}/Services/User/Calc/Calc.app \
     78    copy ${worksrcpath}/Services/User/Calc/Calc.app \
    7979        GNUstep/Local/Applications
    80     system "
    81         cd GNUstep/Local/Tools &&
    82         ln -s ../Applications/Calc.app/Calc &&
    83         cd ../Library/Headers &&
    84         rm -f AddressBook &&
    85         ln -s Addresses AddressBook
    86     "
     80    cd GNUstep/Local/Tools
     81    ln -s ../Applications/Calc.app/Calc
     82    cd ../Library/Headers
     83    delete AddressBook
     84    ln -s Addresses AddressBook
    8785}
    8886
    89 variant devel {
     87variant enable_unstable_extensions {
    9088    build.args-delete       etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
    9189    destroot.args-delete    etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
     
    10199        xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
    102100            share/xsessions
    103         system "
    104             echo \". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; \
    105             etoile_system\" > bin/etoile &&
    106             chmod 755 bin/etoile
    107         "
     101        set chan [open bin/etoile w]
     102                puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
     103                close $chan
     104                file attributes bin/etoile -permissions 0755
    108105    }
    109106}
Note: See TracChangeset for help on using the changeset viewer.