Ignore:
Timestamp:
Mar 12, 2012, 1:41:34 AM (8 years ago)
Author:
ryandesign@…
Message:

php-1.0.tcl: rename php.inidir to php.ini_dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/php-1.0.tcl

    r90673 r90674  
    7878options php.ini
    7979default php.ini                 {${prefix}/etc/${php}/php.ini}
    80 options php.inidir
    81 default php.inidir              {${prefix}/var/db/${php}}
     80options php.ini_dir
     81default php.ini_dir             {${prefix}/var/db/${php}}
    8282options php.ize
    8383default php.ize                 {${prefix}/bin/phpize${php.version}}
     
    8686
    8787proc php.setup {extensions version {source ""}} {
    88     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
     88    global php php.build_dirs php.bundled php.config php.extension_ini php.extensions php.homepage php.ini_dir php.rootname php.source php.version php.versions
    8989    global destroot name subport
    9090   
     
    177177                portdestroot::destroot_main
    178178            }
    179             xinstall -m 755 -d ${destroot}${php.inidir}
     179            xinstall -m 755 -d ${destroot}${php.ini_dir}
    180180            if {"zend" == ${php.type}} {
    181181                set extension_prefix "zend_extension=${php.extension_dir}/"
     
    183183                set extension_prefix "extension="
    184184            }
    185             set fp [open ${destroot}${php.inidir}/${php.extension_ini} w]
     185            set fp [open ${destroot}${php.ini_dir}/${php.extension_ini} w]
    186186            puts $fp "; Do not edit this file; it is automatically generated by MacPorts."
    187187            puts $fp "; Any changes you make will be lost if you upgrade or uninstall ${name}."
Note: See TracChangeset for help on using the changeset viewer.