[26267] trunk/dports/gnustep/gnustep/files/config-gnustep-user.sh

source_changes at macosforge.org source_changes at macosforge.org
Sun Jun 17 15:29:16 PDT 2007


Revision: 26267
          http://trac.macosforge.org/projects/macports/changeset/26267
Author:   yves at macports.org
Date:     2007-06-17 15:29:15 -0700 (Sun, 17 Jun 2007)

Log Message:
-----------
Some fixes for you know what

Modified Paths:
--------------
    trunk/dports/gnustep/gnustep/files/config-gnustep-user.sh

Modified: trunk/dports/gnustep/gnustep/files/config-gnustep-user.sh
===================================================================
--- trunk/dports/gnustep/gnustep/files/config-gnustep-user.sh	2007-06-17 22:13:54 UTC (rev 26266)
+++ trunk/dports/gnustep/gnustep/files/config-gnustep-user.sh	2007-06-17 22:29:15 UTC (rev 26267)
@@ -21,7 +21,7 @@
 
 $t_clear
 
-. @PREFIX@/GNUstep/System/Library/Makefiles/GNUstep.sh
+. /opt/local/GNUstep/System/Library/Makefiles/GNUstep.sh
 
 $t_bold
 echo
@@ -48,7 +48,7 @@
 	then
 	if [ $zone = "list" ]
 		then
-		cat $GNUSTEP_SYSTEM_ROOT/Library/Libraries/Resources/gnustep-base/NSTimeZones/regions | awk '{print $2}' | more
+		cat $GNUSTEP_SYSTEM_ROOT/Library/Libraries/gnustep-base/Versions/1.14/Resources/NSTimeZones/regions | awk '{print $2}' | more
 		echo
 		echo -n 'you can enter timezone right now or "enter" to continue : '
 		read
@@ -58,7 +58,7 @@
 if [ $zone != false ]
 	then
 	$t_bold
-	if ! `grep -q $zone $GNUSTEP_SYSTEM_ROOT/Library/Libraries/Resources/gnustep-base/NSTimeZones/regions`
+	if ! `grep -q $zone $GNUSTEP_SYSTEM_ROOT/Library/Libraries/gnustep-base/Versions/1.14/Resources/NSTimeZones/regions`
 		then
 		echo "$zone is not a recognized region name"
 		zone=false
@@ -71,14 +71,15 @@
 echo
 echo
 
-if [ ! -d $HOME/GNUstep/Library/WindowMaker ]
+if [ ! -d $GNUSTEP_USER_ROOT/Library/WindowMaker ]
 	then
 	echo -n "Installing WindowMaker resources ... "
+	mkdir $GNUSTEP_USER_ROOT
 	wmaker.inst
 	echo "Done"
 fi
 echo "Setting AntiAliased text in WindowMaker"
-def=$HOME/GNUstep/Defaults/WindowMaker
+def=$GNUSTEP_USER_ROOT/Defaults/WindowMaker
 sed '/AntialiasedText/ s/NO/YES/' $def > $def.new
 mv -f $def.new $def
 

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


More information about the macports-changes mailing list