[90671] trunk/dports/_resources/port1.0/group/php-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Sun Mar 11 18:35:55 PDT 2012


Revision: 90671
          http://trac.macports.org/changeset/90671
Author:   ryandesign at macports.org
Date:     2012-03-11 18:35:55 -0700 (Sun, 11 Mar 2012)
Log Message:
-----------
php-1.0.tcl: rename php.ini to php.extension_ini

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/php-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/php-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/php-1.0.tcl	2012-03-12 01:32:10 UTC (rev 90670)
+++ trunk/dports/_resources/port1.0/group/php-1.0.tcl	2012-03-12 01:35:55 UTC (rev 90671)
@@ -56,9 +56,9 @@
 options php.build_dirs
 default php.build_dirs          {[php.build_dirs_proc]}
 options php.bundled
+options php.extension_ini
+default php.extension_ini       {${php.rootname}.ini}
 options php.extensions
-options php.ini
-default php.ini                 {${php.rootname}.ini}
 options php.rootname
 default php.rootname            {[lindex ${php.extensions} 0]}
 options php.source
@@ -85,7 +85,7 @@
 
 
 proc php.setup {extensions version {source ""}} {
-    global php php.build_dirs php.bundled php.config php.extensions php.homepage php.ini php.inidir php.rootname php.source php.version php.versions
+    global php php.build_dirs php.bundled php.config php.extension_ini php.extensions php.homepage php.inidir php.rootname php.source php.version php.versions
     global destroot name subport
     
     # Use "set" to preserve the list structure.
@@ -182,7 +182,7 @@
             } else {
                 set extension_prefix "extension="
             }
-            set fp [open ${destroot}${php.inidir}/${php.ini} w]
+            set fp [open ${destroot}${php.inidir}/${php.extension_ini} w]
             puts $fp "; Do not edit this file; it is automatically generated by MacPorts."
             puts $fp "; Any changes you make will be lost if you upgrade or uninstall ${name}."
             puts $fp "; To configure PHP, edit ${php.php_ini}."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120311/fb0d629d/attachment.html>


More information about the macports-changes mailing list