Revision: 87316 http://trac.macports.org/changeset/87316 Author: ryandesign@macports.org Date: 2011-11-16 16:33:45 -0800 (Wed, 16 Nov 2011) Log Message: ----------- php5pear-1.0.tcl: fix some typos in comments Modified Paths: -------------- trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl Modified: trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl =================================================================== --- trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl 2011-11-17 00:13:39 UTC (rev 87315) +++ trunk/dports/_resources/port1.0/group/php5pear-1.0.tcl 2011-11-17 00:33:45 UTC (rev 87316) @@ -1,6 +1,6 @@ # $Id$ # -# Copyright (c) 2009 The MacPorts Project +# Copyright (c) 2011 The MacPorts Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -30,7 +30,7 @@ # # # This PortGroup automatically sets up the standard environment for installing -# a PHP PEAR classes. +# a PHP PEAR class. # # Usage: # @@ -66,8 +66,8 @@ php5pear.package ${php5pear.package} # The pear channel for the package. php5pear.channel ${php5pear.channel} - # The name of the packages xml file used by pear to build the package. - # Note: so far the two knowns names are package.xml and package2.xml. + # The name of the package's xml file used by pear to build the package. + # Note: so far the two known names are package.xml and package2.xml. php5pear.packagexml ${php5pear.packagexml} name pear-${php5pear.package} @@ -138,7 +138,7 @@ post-extract { # Get the name of our package xml file. php5pear.packagexml [lindex [exec tar -tzf ${distpath}/${distname}${extract.suffix} | grep package.*\.xml] 0] - # The "--strip-components 1" causes the lose of our package file so we will extract it now. + # The "--strip-components 1" causes the loss of our package file so we will extract it now. system "tar -z -x -v -f '${distpath}/${distname}${extract.suffix}' - -C '${php5pear.sourceroot}' ${php5pear.packagexml}" # Install the pear command using the phar file. system "${php5pear.cmd-pre} ${php5pear.cmd-php} ${php5pear.cmd-phar}" @@ -151,8 +151,8 @@ } configure { - # Setup pears conf file. - # The order of appears to be important, we get errors if we set php_dir before adding channels + # Set up pear's conf file. + # The order appears to be important; we get errors if we set php_dir before adding channels # and the directory is not writable. xinstall -d "${php5pear.installer}/pear/php" system "${php5pear.cmd-pre} ${php5pear.cmd-pear} ${php5pear.cmd-post} config-set auto_discover 1" @@ -174,7 +174,7 @@ build { # Get the name of our package xml file. php5pear.packagexml [lindex [exec tar -tzf ${distpath}/${distname}${extract.suffix} | grep package.*\.xml] 0] - # Install our package into our pears packagingroot. + # Install our package into our pear's packagingroot. system "${php5pear.cmd-pre} ${php5pear.cmd-pear} ${php5pear.cmd-post} install -n -f -P '${php5pear.destroot}' ${php5pear.packagexml}" }