1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/tomcat-native/Makefile
Alex Dupre 504dfd7f7f 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 14:26:11 +00:00

32 lines
691 B
Makefile

# New ports collection makefile for: tomcat-native
# Date created: 28 Feb 2008
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tomcat-native
PORTVERSION= 1.1.13
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
LIB_DEPENDS= apr-1.2:${PORTSDIR}/devel/apr
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>