Ticket #13298: apache2-2.2.6_1.diff

File apache2-2.2.6_1.diff, 1.6 KB (added by nox@…, 17 years ago)
  • Portfile

     
    11# $Id$
    22
    3 PortSystem 1.0
     3PortSystem       1.0
     4
    45name             apache2
    56version          2.2.6
     7revision         1
    68
    79categories       www
    810maintainers      imajes@macports.org
     
    1820
    1921master_sites     apache:httpd
    2022distname         httpd-${version}
    21 checksums        md5 203bea91715064f0c787f6499d33a377 \
    22                                  sha1 e6ef926ecd1f9a412af8c266239f0a6f58c63854
    2323use_bzip2        yes
    2424
     25checksums        md5 203bea91715064f0c787f6499d33a377 \
     26                 sha1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 \
     27                 rmd160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f
     28
    2529depends_lib      port:apr \
    2630                 port:apr-util \
    2731                 port:expat \
     
    7579
    7680post-destroot {
    7781        set confDir ${destroot}${prefix}/apache2/conf
    78         file rename -force ${confDir}/httpd.conf ${confDir}/httpd.conf.sample
     82    move -force ${confDir}/httpd.conf ${confDir}/httpd.conf.sample
    7983
    8084        destroot.keepdirs ${destroot}${prefix}/apache2/logs
    8185
    8286        # fix libtool path
    83         reinplace "s|/apache2/build/libtool|/share/apr-0/build/libtool|g" \
     87        reinplace "s|/apache2/build/libtool|/share/apr-1/build/libtool|g" \
    8488                ${destroot}${prefix}/apache2/build/config_vars.mk
     89
     90    set docdir ${prefix}/share/doc/apache-${version}
     91    xinstall -d ${destroot}${docdir}
     92    xinstall -m 0644 -W ${worksrcpath} ABOUT_APACHE CHANGES LICENSE NOTICE README \
     93        README.platforms ROADMAP VERSIONING ${destroot}${docdir}
    8594}
    8695
    8796variant openbsd {