summaryrefslogtreecommitdiff
path: root/www/ap-jk/Makefile
blob: 659f7693ad10abbbd57584eafe89e0fc76d6a2cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.19 2003/08/23 15:26:25 jschauma Exp $

DISTNAME=	jakarta-tomcat-${TOMCAT_VERSION}-src
PKGNAME=	ap-jk-${TOMCAT_VERSION}
TOMCAT_VERSION=	3.2.4
WRKSRC=		${WRKDIR}/${DISTNAME}/src/native/apache1.3
CATEGORIES=	www java
MASTER_SITES=	http://jakarta.apache.org/builds/tomcat/release/v${TOMCAT_VERSION}/src/

MAINTAINER=	jwise@NetBSD.org
HOMEPAGE=	http://jakarta.apache.org/
COMMENT=	Apache connector for accessing Jakarta Tomcat or Apache JServ

# XXX workaround for pax-as-tar problem in -current:
# tar: Invalid header, starting valid header search.
#
BUILD_DEPENDS+=	gtar-base:../../archivers/gtar-base
GTAR=		${LOCALBASE}/bin/gtar

USE_BUILDLINK2=		# defined

EXTRACT_ELEMENTS=	${DISTNAME}/src/native

APACHE_MODULE_NAME=	mod_jk.so
APACHE_MODULE_SRC=	*.c ../jk/*.c
CPPFLAGS+=		-I../jk ${BUILDLINK_CPPFLAGS.${PKG_JVM}}


.include "../../www/apache/module.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"