# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup java 1.0 name tomcat-native-2 version 2.0.14 revision 0 categories java www maintainers nomaintainer license Apache-2 description Tomcat 9+ HTTP Server native library support version 2. long_description This port provides access to native apr and other \ functions utilized by tomcat. homepage https://tomcat.apache.org/ master_sites apache:tomcat/tomcat-connectors/native/${version}/source/ checksums rmd160 4ef853a14798ea719160455cd229937d22249fd0 \ sha256 51ca50295c8005e6bb4a32a0cdc7ee5bc224406ae402075b031f5b3073bf2bdb \ size 474739 distname tomcat-native-${version}-src worksrcdir ${distname}/native depends_lib port:apr \ port:openssl # java Portgroup settings java.version 11+ java.fallback openjdk11 configure.args --with-apr=${prefix} \ --with-ssl=${prefix} build.args EXTRA_LDFLAGS="-shrext .jnilib" notes " To integrate this into tomcat, add -Djava.library.path=${prefix} to the tomcat options or\ to CATALINA_OPTS. Make sure the AprLifecycleListener is enabled in your server.xml like so: For further information please see https://tomcat.apache.org/native-doc/index.html " livecheck.type regex livecheck.url https://archive.apache.org/dist/tomcat/tomcat-connectors/native/ livecheck.regex {(\d+\.\d+\.\d+)/}