Changeset 50191 for trunk/dports/php


Ignore:
Timestamp:
Apr 27, 2009, 2:29:29 PM (11 years ago)
Author:
alakazam@…
Message:

Migrate php5-eaccelerator to the php5extension PortGroup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/php/php5-eaccelerator/Portfile

    r50018 r50191  
    22
    33PortSystem        1.0
     4PortGroup         php5extension 1.0
    45
    5 name              php5-eaccelerator
    6 version           0.9.5.3
     6php5extension.setup eaccelerator 0.9.5.3
     7revision          1
    78
    89categories        php www devel
     
    2324                  sha1 6671a105497f41c4e93e0b84da516b72df159fc5 \
    2425                  rmd160 9da55beec18e7a36761b5556d3bb4d5292d21650
    25 distname          eaccelerator-${version}
    2626use_bzip2         yes
    27 depends_lib       path:bin/phpize:php5
    2827configure.args    --with-php-config=${prefix}/bin/php-config
    29 
    30 pre-configure {
    31     system "cd ${worksrcpath}; phpize"
    32 }
    33 
    34 destroot.destdir INSTALL_ROOT=${destroot}
    35 
    36 post-install {
    37 
    38     set ini_file          "${prefix}/etc/php.ini"
    39     set extension_file    "${prefix}/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
    40     set eaccelerator_docs "http://eaccelerator.net/wiki/Settings"
    41 
    42     ui_msg "
    43     ***************************************************************************
    44     * To enable the eaccelerator extension in php, add or edit the following
    45     * lines in ${ini_file}:
    46     *
    47     * zend_extension=\"${extension_file}\"
    48     *
    49     * For more information and details about configuration settings, see
    50     * ${eaccelerator_docs}
    51     ***************************************************************************"
    52 }
    5328
    5429variant shared_memory description {Enable shared memory access functions [only enable in trusted environments]} {
Note: See TracChangeset for help on using the changeset viewer.