1 | PortSystem 1.0 |
---|
2 | name mod_jk2 |
---|
3 | version 2.0.2 |
---|
4 | revision 1.0 |
---|
5 | categories www |
---|
6 | platforms darwin freebsd |
---|
7 | maintainers jcorley1@nc.rr.com |
---|
8 | description The Tomcat "connector" module for Apache |
---|
9 | long_description The newer mod_jk2 is a refactoring of mod_jk. The native part has been \ |
---|
10 | completely restructured and the configuration has been simplified. |
---|
11 | homepage http://jakarta.apache.org/tomcat/index.html |
---|
12 | |
---|
13 | master_sites http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v${version}/src/ |
---|
14 | |
---|
15 | distname jakarta-tomcat-connectors-jk2-${version}-src |
---|
16 | checksums ${distname}${extract.sufx} md5 c75bd11d96324356b0ffaed2b5bf7fc4 |
---|
17 | worksrcdir ${distname}/jk/native2 |
---|
18 | |
---|
19 | depends_build path:${prefix}/apache2/bin/apxs:apache2 path:${prefix}/include/dlfcn.h:dlcompat |
---|
20 | depends_lib lib:libapr-0.0:apr lib:libaprutil-0.0:apr-util |
---|
21 | |
---|
22 | configure { reinplace "s|libtoolize|glibtoolize|g" \ |
---|
23 | ${workpath}/${worksrcdir}/buildconf.sh |
---|
24 | system "cd ${workpath}/${worksrcdir} && \ |
---|
25 | sh buildconf.sh && \ |
---|
26 | ./configure \ |
---|
27 | --with-apxs2=${prefix}/apache2/bin/apxs \ |
---|
28 | --with-java-home=/Library/Java/Home" } |
---|
29 | |
---|
30 | build.args CPPFLAGS="-I${prefix}/include -I${prefix}/include/apr-0" LIBTOOL=/usr/bin/glibtool |
---|
31 | |
---|
32 | install { system "mkdir -p ${destroot}/${prefix}/apache2/modules" |
---|
33 | system "mkdir -p ${destroot}/${prefix}/apache2/conf" |
---|
34 | system "cp ${workpath}/${distname}/jk/build/jk2/apache2/mod_jk*.so \ |
---|
35 | ${destroot}/${prefix}/apache2/modules" |
---|
36 | system "cp ${workpath}/${distname}/jk/conf/jk2* \ |
---|
37 | ${workpath}/${distname}/jk/conf/workers2.properties \ |
---|
38 | ${destroot}/${prefix}/apache2/conf" } |
---|
39 | |
---|