Ticket #45921: mod_jk-Portfile.diff
File mod_jk-Portfile.diff, 2.5 KB (added by girgen@…, 10 years ago) |
---|
-
(a) /Users/girgen/Portfile.orig vs. (b) Portfile
a b 33 33 34 34 configure.args --with-apxs=${prefix}/apache2/bin/apxs 35 35 36 set apachedir apache2 36 set apacheconfdir apache2/conf 37 set apachemoddir apache2/modules 37 38 38 39 if {[variant_isset universal]} { 39 40 patchfiles-append configure_universal.patch … … 45 46 destroot { 46 47 # Install the connector for apache2 47 48 xinstall -m 755 -d \ 48 ${destroot}${prefix}/${apache dir}/modules\49 ${destroot}${prefix}/${apache dir}/conf49 ${destroot}${prefix}/${apachemoddir} \ 50 ${destroot}${prefix}/${apacheconfdir} 50 51 51 52 xinstall -m 644 \ 52 53 ${worksrcpath}/apache-2.0/mod_jk.so \ 53 ${destroot}${prefix}/${apache dir}/modules54 ${destroot}${prefix}/${apachemoddir} 54 55 55 56 xinstall -m 644 ${worksrcpath}/../conf/workers.properties.minimal \ 56 ${destroot}${prefix}/${apache dir}/conf/workers.properties.sample57 ${destroot}${prefix}/${apacheconfdir}/workers.properties.sample 57 58 } 58 59 59 60 60 notes "\ 61 Example file ${prefix}/${apache dir}/conf/workers.properties.sample has been\61 Example file ${prefix}/${apacheconfdir}/workers.properties.sample has been\ 62 62 installed to illustrate the use of the jk connector between apache2 and\ 63 63 tomcat. 64 64 You will want to create a working copy of this file as workers.properties and\ … … 68 68 LoadModule jk_module modules/mod_jk.so" 69 69 70 70 variant apache20 description "install for apache 2.0.x" { 71 global apachedir 72 set apachedir apache20 71 global apacheconfdir 72 global apachemoddir 73 set apacheconfdir apache20/conf 74 set apachemoddir apache20/modules 73 75 depends_build-delete path:apache2/bin/httpd:apache2 74 76 depends_build-append path:apache20/bin/httpd:apache20 75 77 configure.args-delete --with-apxs=${prefix}/apache2/bin/apxs 76 78 configure.args-append --with-apxs=${prefix}/apache20/bin/apxs 77 79 } 78 80 81 variant apache24 description "install for apache 2.4.x" { 82 global apacheconfdir 83 global apachemoddir 84 set apacheconfdir etc/apache2 85 set apachemoddir lib/apache2/modules 86 depends_build-delete path:apache2/bin/httpd:apache2 87 depends_build-append path:bin/httpd:apache24-devel 88 configure.args-delete --with-apxs=${prefix}/apache2/bin/apxs 89 configure.args-append --with-apxs=${prefix}/bin/apxs 90 } 91 79 92 livecheck.type regex 80 93 livecheck.regex "tomcat-connectors-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"