freebsd-ports/www/tomcat-native/Makefile

42 lines
873 B
Makefile
Raw Normal View History

# 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.23
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_APACHE}
2009-12-09 22:22:56 +01:00
MASTER_SITE_SUBDIR= tomcat/tomcat-connectors/native/${PORTVERSION}/source
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ale@FreeBSD.org
COMMENT= Tomcat native library
LICENSE= AL2
LIB_DEPENDS= apr-1:${PORTSDIR}/devel/apr1
WRKSRC= ${WRKDIR}/${DISTNAME}/jni/native
OPTIONS= OCSP "Enable OCSP verification support" off
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.options.mk>
.if defined(WITH_OCSP)
CONFIGURE_ARGS+=--enable-ocsp
.endif
.include <bsd.port.mk>