blob: 8caa643fb8f0f62201db2f6a0024f3ad07895e6c (
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.8 2000/05/22 16:01:38 jwise Exp $
DISTNAME= ApacheJServ-1.1.1
PKGNAME= ap-jserv-1.1.1
CATEGORIES= www
MASTER_SITES= http://java.apache.org/jserv/dist/
MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://java.apache.org/
DEPENDS+= apache>=1.3.9:../../www/apache
# yes, this needs _exactly_ version 2.0
DEPENDS+= jsdk-2.0:../../www/jsdk20
# For "apxs":
BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5
.include "../../mk/bsd.prefs.mk"
USE_JAVA= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/src/scripts/build/unix/ltconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs --with-jdk-home=${JAVA_HOME} \
--with-JSDK=${PREFIX}/lib/java/jsdk.jar --with-logdir=/var/log/httpd \
--with-servlets=${LOCALBASE}/share/httpd/servlets -enable-EAPI
.include "../../mk/bsd.pkg.mk"
JSDK_HOME= ${JAVA_HOME}/jsdk
BUILD_DEFS+= JSDK_HOME
|