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

php-1.0.tcl: Group and separate options into those that relate to the extension vs. those that relate to the version of PHP

File:
1 edited

Legend:

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

    r90668 r90670  
    5050
    5151
     52# Options that relate to the PHP extension.
    5253default build.dir               {[lindex ${php.build_dirs} 0]}
    5354default configure.dir           {[lindex ${php.build_dirs} 0]}
    5455default destroot.dir            {[lindex ${php.build_dirs} 0]}
    55 options php
    56 default php                     {php${php.version}}
    5756options php.build_dirs
    5857default php.build_dirs          {[php.build_dirs_proc]}
    5958options php.bundled
     59options php.extensions
     60options php.ini
     61default php.ini                 {${php.rootname}.ini}
     62options php.rootname
     63default php.rootname            {[lindex ${php.extensions} 0]}
     64options php.source
     65default php.source              standalone
     66options php.type
     67default php.type                php
     68options php.versions
     69default php.versions            {{54}}
     70
     71# Options that relate to the version of PHP.
     72options php
     73default php                     {php${php.version}}
    6074options php.config
    6175default php.config              {${prefix}/bin/php-config${php.version}}
    62 options php.extensions
    6376options php.extension_dir
    6477default php.extension_dir       {[exec ${php.config} --extension-dir 2>/dev/null]}
    65 options php.ini
    66 default php.ini                 {${php.rootname}.ini}
    6778options php.inidir
    6879default php.inidir              {${prefix}/var/db/${php}}
     
    7182options php.phpize
    7283default php.phpize              {${prefix}/bin/phpize${php.version}}
    73 options php.rootname
    74 default php.rootname            {[lindex ${php.extensions} 0]}
    75 options php.source
    76 default php.source              standalone
    77 options php.type
    78 default php.type                php
    7984options php.version
    80 options php.versions
    81 default php.versions            {{54}}
     85
    8286
    8387proc php.setup {extensions version {source ""}} {
Note: See TracChangeset for help on using the changeset viewer.