[77219] trunk/dports/sysutils/MacPorts/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Mar 23 22:36:02 PDT 2011


Revision: 77219
          http://trac.macports.org/changeset/77219
Author:   ryandesign at macports.org
Date:     2011-03-23 22:35:59 -0700 (Wed, 23 Mar 2011)
Log Message:
-----------
MacPorts: refine comments

Modified Paths:
--------------
    trunk/dports/sysutils/MacPorts/Portfile

Modified: trunk/dports/sysutils/MacPorts/Portfile
===================================================================
--- trunk/dports/sysutils/MacPorts/Portfile	2011-03-24 04:55:48 UTC (rev 77218)
+++ trunk/dports/sysutils/MacPorts/Portfile	2011-03-24 05:35:59 UTC (rev 77219)
@@ -34,11 +34,11 @@
 # clean environment, enable it here.
 configure.args      --enable-readline
 
-# we don't want to use anything supplied by ports when building macports itself
+# We don't want to use anything supplied by ports when building MacPorts itself.
 configure.env       PATH=/usr/bin:/bin:/usr/sbin:/sbin
 
-# Some of MacPort's default flags don't play well when we're building
-# MacPorts itself: nuke them
+# Some of MacPorts' default flags don't play well when we're building MacPorts
+# itself; nuke them.
 configure.cppflags
 configure.ldflags
 
@@ -55,11 +55,11 @@
 }
 
 # MacPorts' configure removes ${prefix}/bin from $PATH,
-# so better do not use ccache to avoid problems
+# so better do not use ccache, to avoid problems.
 configure.ccache no
 
 post-destroot {
-    # only install .default versions of config files
+    # Only install .default versions of config files.
     delete ${destroot}${prefix}/etc/macports/macports.conf
     delete ${destroot}${prefix}/etc/macports/sources.conf
     delete ${destroot}${prefix}/etc/macports/variants.conf
@@ -102,13 +102,13 @@
     pre-configure {
         set sdkrootpath /Developer/SDKs/MacOSX10.4u.sdk
         if {[file exists ${sdkrootpath}]} {
-            # User has Universal SDK installed.
+            # User has SDK installed.
             set tclstubpath /System/Library/Frameworks/Tcl.framework/Versions/8.4/libtclstub8.4.a
             if {![file exists ${sdkrootpath}${tclstubpath}]} {
                 ui_msg "Fixing your MacOSX10.4u installation by copying libtclstub8.4.a to ${sdkrootpath}${tclstubpath}"
                 xinstall -p ${tclstubpath} ${sdkrootpath}${tclstubpath}
             }
-            # Supply architecture flags to build MacPorts Universal
+            # Supply architecture and sysroot flags to build MacPorts universal.
             configure.cflags-append -isysroot ${sdkrootpath} -arch ppc -arch i386
             configure.env-append SHLIB_LDFLAGS='-Wl,-syslibroot,${sdkrootpath} -arch ppc -arch i386'
         }
@@ -116,7 +116,7 @@
 }
 
 platform darwin 8 i386 {
-    # Supply architecture flags to build MacPorts Universal on an Intel Mac
+    # Supply architecture flags to build MacPorts universal.
     configure.cflags-append -arch ppc -arch i386
     configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
 }
@@ -137,13 +137,13 @@
     pre-configure {
         set sdkrootpath /Developer/SDKs/MacOSX10.5.sdk
         if {[file exists ${sdkrootpath}]} {
-            # User has Universal SDK installed.
+            # User has SDK installed.
             set tclstubpath /System/Library/Frameworks/Tcl.framework/Versions/8.4/libtclstub8.4.a
             if {![file exists ${sdkrootpath}${tclstubpath}]} {
                 ui_msg "Fixing your MacOSX10.5 installation by copying libtclstub8.4.a to ${sdkrootpath}${tclstubpath}"
                 xinstall -p ${tclstubpath} ${sdkrootpath}${tclstubpath}
             }
-            # Supply architecture flags to build MacPorts Universal
+            # Supply architecture and sysroot flags to build MacPorts universal.
             configure.cflags-append -isysroot ${sdkrootpath} -arch ppc -arch i386
             configure.env-append SHLIB_LDFLAGS='-Wl,-syslibroot,${sdkrootpath} -arch ppc -arch i386'
         }
@@ -151,13 +151,13 @@
 }
 
 platform darwin 9 i386 {
-    # Supply architecture flags to build MacPorts Universal on an Intel Mac
+    # Supply architecture flags to build MacPorts universal.
     configure.cflags-append -arch ppc -arch i386
     configure.args-append SHLIB_LDFLAGS='-arch ppc -arch i386'
 }
 
 platform darwin 10 {
-    # Supply architecture flags to build MacPorts Universal on an Intel Mac
+    # Supply architecture flags to build MacPorts universal.
     configure.cflags-append -arch x86_64 -arch i386
     configure.args-append SHLIB_LDFLAGS='-arch x86_64 -arch i386'
     post-pkg {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110323/ede4ea2b/attachment.html>


More information about the macports-changes mailing list