Changeset 7745


Ignore:
Timestamp:
Jul 15, 2004, 11:29:31 AM (16 years ago)
Author:
benoitc
Message:
  • new release of php 4.3.8
  • fix apache2 variant
  • fix mysql4 depency

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/php4/Portfile

    r6486 r7745  
    1 # $Id: Portfile,v 1.14 2004/04/16 06:14:14 benoitc Exp $
     1# $Id: Portfile,v 1.15 2004/07/15 11:29:31 benoitc Exp $
    22
    33PortSystem 1.0
    44name            php4
    5 version         4.3.6   
    6 revision        1
     5version         4.3.8   
    76categories      lang www
    87maintainers     bchesneau@mac.com
     
    2726distfiles       ${distname}.tar.gz:release
    2827worksrcdir      php-${version}
    29 checksums       ${distname}.tar.gz md5 4848331288d6eaffcec0323a852d1082             
    30 
    31 patchfiles      patch-configure
     28checksums       ${distname}.tar.gz md5 dd69f8c89281f088eadf4ade3dbd39ee             
     29
     30#patchfiles     patch-configure
    3231
    3332depends_lib     lib:libiconv.2:libiconv \
     
    8887variant apache2 {
    8988        depends_lib-append      path:${prefix}/apache2/bin/apxs:apache2
    90         configure.args-append   --with-apxs2=${apache2_path}/bin/apxs
     89        configure.args-append   --with-apxs2=${prefix}/apache2/bin/apxs
    9190}
    9291
     
    104103variant gd {
    105104        depends_lib-append      lib:libjpeg.9:jpeg \
    106                                                 lib:libpng3:libpng \
     105                                                lib:libpng.3:libpng \
    107106                                                lib:libfreetype.6.3.5:freetype
    108107       
     
    120119
    121120variant mysql4 {
    122         depends_lib-append      lib:libmysqlclient:mysql4
     121        depends_lib-append      path:${prefix}/lib/mysql/libmysqlclient_r.12.dylib:mysql4
    123122        configure.args-append   --with-mysql=${prefix}
    124123}
     
    202201       
    203202        if { [variant_isset apache2] } {
    204                 file mkdir ${destroot}${apache2_path}/modules
    205                 xinstall -m 755 ${worksrcpath}/libs/libphp4.so ${destroot}${apache_path}/modules/
    206                 file mkdir ${destroot}${apache2_path}/conf/extras-conf
    207                 xinstall -o root -m 755 -c  ${portpath}/files/mod_php.conf ${destroot}${apache2_path}/conf/extras-conf
    208         } 
     203                file mkdir ${destroot}${prefix}/apache2/modules
     204                xinstall -m 755 ${worksrcpath}/libs/libphp4.so ${destroot}${prefix}/apache2/modules/
     205                file mkdir ${destroot}${prefix}/apache2/conf/extras-conf
     206                xinstall -o root -m 755 -c  ${portpath}/files/mod_php.conf ${destroot}${prefix}/apache2/conf/extras-conf
     207        }
    209208
    210209        if { [variant_isset cli] } {
Note: See TracChangeset for help on using the changeset viewer.