[26374] trunk/dports/gnustep/Etoile/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 20 11:47:09 PDT 2007


Revision: 26374
          http://trac.macosforge.org/projects/macports/changeset/26374
Author:   yves at macports.org
Date:     2007-06-20 11:47:09 -0700 (Wed, 20 Jun 2007)

Log Message:
-----------
Change system calls to tcl and find a better variant name

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

Modified: trunk/dports/gnustep/Etoile/Portfile
===================================================================
--- trunk/dports/gnustep/Etoile/Portfile	2007-06-20 18:31:03 UTC (rev 26373)
+++ trunk/dports/gnustep/Etoile/Portfile	2007-06-20 18:47:09 UTC (rev 26374)
@@ -73,20 +73,18 @@
 post-destroot {
     cd ${destroot}${prefix}
     xinstall -d GNUstep/Local/Library/Themes
-    file copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
+    copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
         GNUstep/Local/Library/Themes
-    file copy ${worksrcpath}/Services/User/Calc/Calc.app \
+    copy ${worksrcpath}/Services/User/Calc/Calc.app \
         GNUstep/Local/Applications
-    system "
-        cd GNUstep/Local/Tools &&
-        ln -s ../Applications/Calc.app/Calc &&
-        cd ../Library/Headers &&
-        rm -f AddressBook &&
-        ln -s Addresses AddressBook
-    "
+    cd GNUstep/Local/Tools
+    ln -s ../Applications/Calc.app/Calc
+    cd ../Library/Headers
+    delete AddressBook
+    ln -s Addresses AddressBook
 }
 
-variant devel {
+variant enable_unstable_extensions {
     build.args-delete       etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
     destroot.args-delete    etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
     build.args-append       debug=yes corner=no
@@ -100,11 +98,10 @@
         xinstall -d share/xsessions
         xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
             share/xsessions
-        system "
-            echo \". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; \
-            etoile_system\" > bin/etoile &&
-            chmod 755 bin/etoile
-        "
+        set chan [open bin/etoile w]
+		puts $chan ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; etoile_system"
+		close $chan
+		file attributes bin/etoile -permissions 0755
     }
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070620/58d9345b/attachment.html


More information about the macports-changes mailing list