mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
8aa728fdbb
PR: ports/165671 Submitted by: jgh
42 lines
873 B
Makefile
42 lines
873 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.23
|
|
CATEGORIES= www java
|
|
MASTER_SITES= ${MASTER_SITE_APACHE}
|
|
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>
|