summaryrefslogtreecommitdiff
path: root/www/ap-jk/Makefile
blob: a316cff99653ec33ccbeae2d2a9c6ff2f337c9fb (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
# $NetBSD: Makefile,v 1.14 2002/12/28 20:50:21 jlam Exp $

DISTNAME=	jakarta-tomcat-${TOMCAT_VERSION}-src
PKGNAME=	ap-jk-${TOMCAT_VERSION}
TOMCAT_VERSION=	3.2.4
CATEGORIES=	www
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

USE_BUILDLINK2=		# defined
APACHE_MODULE=		# defined

EXTRACT_ELEMENTS=	${DISTNAME}/src/native
WRKSRC=			${WRKDIR}/${DISTNAME}/src/native/apache1.3

do-build:
	cd ${WRKSRC} &&							\
	${APXS} -o mod_jk.so						\
		-I../jk ${BUILDLINK_CPPFLAGS.${PKG_JVM}}		\
		-c *.c ../jk/*.c

do-install:
	cd ${WRKSRC} && ${APXS} -i mod_jk.so

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