Ticket #12646: apache2-2.2.6.diff
File apache2-2.2.6.diff, 1.7 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 PortSystem 1.0 3 PortSystem 1.0 4 4 5 name apache2 5 version 2.2.4 6 revision 1 6 version 2.2.6 7 7 8 8 categories www 9 9 maintainers imajes@macports.org … … 19 19 20 20 master_sites apache:httpd 21 21 distname httpd-${version} 22 checksums md5 536c86c7041515a25dd8bad3611da9a323 22 use_bzip2 yes 24 23 24 checksums md5 203bea91715064f0c787f6499d33a377 \ 25 sha1 e6ef926ecd1f9a412af8c266239f0a6f58c63854 \ 26 rmd160 5ae895c6898213e1e3b7e7b02cdfcbe5b36a108f 27 25 28 depends_lib port:apr \ 26 29 port:apr-util \ 27 30 port:expat \ … … 75 78 76 79 post-destroot { 77 80 set confDir ${destroot}${prefix}/apache2/conf 78 file rename -force ${confDir}/httpd.conf ${confDir}/httpd.conf.sample81 move -force ${confDir}/httpd.conf ${confDir}/httpd.conf.sample 79 82 80 83 destroot.keepdirs ${destroot}${prefix}/apache2/logs 81 84 82 85 # fix libtool path 83 86 reinplace "s|/apache2/build/libtool|/share/apr-0/build/libtool|g" \ 84 87 ${destroot}${prefix}/apache2/build/config_vars.mk 88 89 set docdir ${prefix}/share/doc/apache-${version} 90 xinstall -d ${destroot}${docdir} 91 xinstall -m 0644 -W ${worksrcpath} ABOUT_APACHE CHANGES LICENSE NOTICE README \ 92 README.platforms ROADMAP VERSIONING ${destroot}${docdir} 85 93 } 86 94 87 95 variant openbsd { … … 119 127 "\[ -r ${prefix}/apache2/logs/httpd.pid \] && ${prefix}/apache2/bin/apachectl stop > /dev/null" 120 128 startupitem.restart \ 121 129 "${prefix}/apache2/bin/apachectl restart > /dev/null" 130 131 livecheck.check regex 132 livecheck.url ${homepage} 133 livecheck.regex "Apache (\\d+(?:\\.\\d+)*) Released" 134