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

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 19 14:17:05 PDT 2007


Revision: 26328
          http://trac.macosforge.org/projects/macports/changeset/26328
Author:   yves at macports.org
Date:     2007-06-19 14:17:05 -0700 (Tue, 19 Jun 2007)

Log Message:
-----------
Add a devel variant to keep the unstable stuff out of the stable (Oh boy !)

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

Modified: trunk/dports/gnustep/Etoile/Portfile
===================================================================
--- trunk/dports/gnustep/Etoile/Portfile	2007-06-19 20:56:13 UTC (rev 26327)
+++ trunk/dports/gnustep/Etoile/Portfile	2007-06-19 21:17:05 UTC (rev 26328)
@@ -5,6 +5,7 @@
 
 name            Etoile
 version         0.1.9
+revision        1
 platforms       darwin
 maintainers     yves at macports.org
 homepage        http://www.etoile-project.org/
@@ -19,7 +20,7 @@
 svn.tag         1993
 svn.url         http://svn.gna.org/svn/etoile/stable/Etoile
 
-############################# DEBUG FETCH ##############################
+####################### DEVELOPMENT FETCH ##############################
 #fetch {
 #    file copy ${portpath}/Etoile ${workpath}
 #}
@@ -66,30 +67,44 @@
 		Services/User/Grr/Development/Deprecated/FeedTable/GNUmakefile
 }
 
-# This needs StepTalk, not yet in MacPorts
-build.args      corner=no
-destroot.args   corner=no
+build.args      etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
+destroot.args   etoile-extensions=no menuserver=yes jabber=no outerspace=no sketch=no
 
 post-destroot {
     cd ${destroot}${prefix}
-    xinstall -d GNUstep/System/Library/Etoile
-    xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
-        GNUstep/System/Library/Etoile
-    xinstall -d share/xsessions
-    xinstall -m 644 ${worksrcpath}/Services/Private/System/etoile.desktop \
-        share/xsessions
     xinstall -d GNUstep/Local/Library/Themes
     file copy ${worksrcpath}/Bundles/Camaelon/Nesedah.theme \
         GNUstep/Local/Library/Themes
     file copy ${worksrcpath}/Services/User/Calc/Calc.app \
         GNUstep/Local/Applications
-    system "echo \". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh; \
-                etoile_system\" > bin/etoile &&
-                chmod 755 bin/etoile &&
-                cd GNUstep/Local/Tools &&
-                ln -s ../Applications/Calc.app/Calc &&
-                cd ../Library/Headers &&
-                rm -f AddressBook &&
-                ln -s Addresses AddressBook"
+    system "
+        cd GNUstep/Local/Tools &&
+        ln -s ../Applications/Calc.app/Calc &&
+        cd ../Library/Headers &&
+        rm -f AddressBook &&
+        ln -s Addresses AddressBook
+    "
 }
 
+variant devel {
+    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
+    destroot.args-append    debug=yes corner=no
+
+    post-destroot {
+        cd ${destroot}${prefix}
+        xinstall -d GNUstep/System/Library/Etoile
+        xinstall -m 644 ${worksrcpath}/Services/Private/System/SystemTaskList.plist \
+            GNUstep/System/Library/Etoile
+        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
+        "
+    }
+}
+

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


More information about the macports-changes mailing list