Skip to content
Permalink
Browse files

Etoile-devel: remove use of cd

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40552 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Oct 6, 2008
1 parent 2dd274b commit 8b66c6b7a84e92d62616dbe10e52dbe1acf452b8
Showing with 15 additions and 16 deletions.
  1. +15 −16 gnustep/Etoile-devel/Portfile
@@ -56,32 +56,31 @@ destroot.args corner=no debug=yes

post-destroot {

cd ${destroot}${prefix}

xinstall -d GNUstep/System/Library/Etoile
xinstall -d ${destroot}${prefix}/GNUstep/System/Library/Etoile
xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
GNUstep/System/Library/Etoile
${destroot}${prefix}/GNUstep/System/Library/Etoile

xinstall -d share/xsessions
xinstall -d ${destroot}${prefix}/share/xsessions
xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
share/xsessions
${destroot}${prefix}/share/xsessions

set chan [open bin/etoile w]
set chan [open ${destroot}${prefix}/bin/etoile w]
puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
close $chan
file attributes bin/etoile -permissions 0755
file attributes ${destroot}${prefix}/bin/etoile -permissions 0755

xinstall -d GNUstep/Local/Library/Themes
xinstall -d ${destroot}${prefix}/GNUstep/Local/Library/Themes
copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
GNUstep/Local/Library/Themes
${destroot}${prefix}/GNUstep/Local/Library/Themes

copy ${worksrcpath}/Services/User/Calc/Calc.app \
GNUstep/Local/Applications
cd GNUstep/Local/Tools
ln -s ../Applications/Calc.app/Calc
${destroot}${prefix}/GNUstep/Local/Applications

ln -s ${destroot}${prefix}/GNUstep/Local/Applications/Calc.app/Calc \
${destroot}${prefix}/GNUstep/Local/Tools

cd ../Library/Headers
delete AddressBook
ln -s Addresses AddressBook
delete ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
ln -s ${destroot}${prefix}/GNUstep/Local/Library/Headers/Addresses \
${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
}

0 comments on commit 8b66c6b

Please sign in to comment.
You can’t perform that action at this time.