Tomcat can use the Apache Portable Runtime to provide superior scalability,
performance, and better integration with native server technologies.
APR has many uses, including access to advanced IO functionality (such as
sendfile, epoll and OpenSSL), OS level functionality (random number
generation, system status, etc), and native process handling (shared memory,
NT pipes and Unix sockets).
These features allows making Tomcat a general purposewebserver, will
enable much better integration with other native web technologies, and
overall make Java much more viable as a full fledged webserver platform
rather than simply a backend focused technology.
2008-02-28 15:26:11 +01:00
|
|
|
# New ports collection makefile for: tomcat-native
|
|
|
|
# Date created: 28 Feb 2008
|
|
|
|
# Whom: Alex Dupre <ale@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tomcat-native
|
2008-11-20 08:37:27 +01:00
|
|
|
PORTVERSION= 1.1.16
|
Tomcat can use the Apache Portable Runtime to provide superior scalability,
performance, and better integration with native server technologies.
APR has many uses, including access to advanced IO functionality (such as
sendfile, epoll and OpenSSL), OS level functionality (random number
generation, system status, etc), and native process handling (shared memory,
NT pipes and Unix sockets).
These features allows making Tomcat a general purposewebserver, will
enable much better integration with other native web technologies, and
overall make Java much more viable as a full fledged webserver platform
rather than simply a backend focused technology.
2008-02-28 15:26:11 +01:00
|
|
|
CATEGORIES= www java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
|
|
MASTER_SITE_SUBDIR= tomcat/tomcat-connectors/native
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
|
|
COMMENT= Tomcat native library
|
|
|
|
|
2008-07-05 11:19:16 +02:00
|
|
|
LIB_DEPENDS= apr-1.3:${PORTSDIR}/devel/apr
|
Tomcat can use the Apache Portable Runtime to provide superior scalability,
performance, and better integration with native server technologies.
APR has many uses, including access to advanced IO functionality (such as
sendfile, epoll and OpenSSL), OS level functionality (random number
generation, system status, etc), and native process handling (shared memory,
NT pipes and Unix sockets).
These features allows making Tomcat a general purposewebserver, will
enable much better integration with other native web technologies, and
overall make Java much more viable as a full fledged webserver platform
rather than simply a backend focused technology.
2008-02-28 15:26:11 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/jni/native
|
|
|
|
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
JAVA_VERSION= 1.5+
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-apr=${LOCALBASE} \
|
|
|
|
--with-java-home=${JAVA_HOME} \
|
|
|
|
--with-ssl=${SSLBASE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|