[26292] trunk/dports/gnustep/gnustep-make/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 18 08:52:58 PDT 2007


Revision: 26292
          http://trac.macosforge.org/projects/macports/changeset/26292
Author:   yves at macports.org
Date:     2007-06-18 08:52:58 -0700 (Mon, 18 Jun 2007)

Log Message:
-----------
Fix the post-install phase

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

Modified: trunk/dports/gnustep/gnustep-make/Portfile
===================================================================
--- trunk/dports/gnustep/gnustep-make/Portfile	2007-06-18 15:28:30 UTC (rev 26291)
+++ trunk/dports/gnustep/gnustep-make/Portfile	2007-06-18 15:52:58 UTC (rev 26292)
@@ -57,16 +57,15 @@
 export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man:/usr/X11R6/man
 ##########################################################
         "
+        if {[file exists ${prefix}/share/darwinports]} {
+        	xinstall -m 644 ${filespath}/gnustep-1.0.tcl \
+        		${prefix}/share/darwinports/resources/port1.0/group 
+        }
+        if {[file exists ${prefix}/share/macports]} {
+            xinstall -m 644 ${filespath}/gnustep-1.0.tcl \
+            	${prefix}/share/macports/resources/port1.0/group
+        }
     }
-    if {[file exists ${prefix}/share/darwinports]} {
-        set res ${prefix}/share/darwinports/resources/port1.0/group 
-    } elseif {[file exists ${prefix}/share/macports]} {
-        set res ${prefix}/share/macports/resources/port1.0/group
-    } else {
-        ui_error "Something is wrong with your MacPorts installation."
-        exit 1
-    }
-    xinstall -m 644 ${filespath}/gnustep-1.0.tcl $res
 }
 
 platform darwin {

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


More information about the macports-changes mailing list