[40552] trunk/dports/gnustep/Etoile-devel/Portfile

jmr at macports.org jmr at macports.org
Mon Oct 6 13:53:18 PDT 2008


Revision: 40552
          http://trac.macports.org/changeset/40552
Author:   jmr at macports.org
Date:     2008-10-06 13:53:18 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
Etoile-devel: remove use of cd

Modified Paths:
--------------
    trunk/dports/gnustep/Etoile-devel/Portfile

Modified: trunk/dports/gnustep/Etoile-devel/Portfile
===================================================================
--- trunk/dports/gnustep/Etoile-devel/Portfile	2008-10-06 20:48:47 UTC (rev 40551)
+++ trunk/dports/gnustep/Etoile-devel/Portfile	2008-10-06 20:53:18 UTC (rev 40552)
@@ -56,32 +56,31 @@
 
 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
 
-    cd ../Library/Headers
-    delete AddressBook
-    ln -s Addresses AddressBook
+    ln -s ${destroot}${prefix}/GNUstep/Local/Applications/Calc.app/Calc \
+        ${destroot}${prefix}/GNUstep/Local/Tools
+
+    delete ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
+    ln -s ${destroot}${prefix}/GNUstep/Local/Library/Headers/Addresses \
+        ${destroot}${prefix}/GNUstep/Local/Library/Headers/AddressBook
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/f25349ae/attachment.html 


More information about the macports-changes mailing list