2002-12-31 16:44:28 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2002/12/31 15:44:30 jlam Exp $
|
2000-01-14 21:59:01 +01:00
|
|
|
|
2000-06-19 23:16:44 +02:00
|
|
|
DISTNAME= ApacheJServ-1.1.2
|
|
|
|
PKGNAME= ap-jserv-1.1.2
|
2000-01-14 21:59:01 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://java.apache.org/jserv/dist/
|
|
|
|
|
|
|
|
MAINTAINER= jwise@netbsd.org
|
|
|
|
HOMEPAGE= http://java.apache.org/
|
2001-03-29 21:37:42 +02:00
|
|
|
COMMENT= older Java Servlet engine for Apache Server
|
2000-01-14 21:59:01 +01:00
|
|
|
|
2002-02-28 19:32:18 +01:00
|
|
|
DEPENDS+= {apache-1.3.9*,apache-1.3.[1-9][0-9]*,apache6-1.3.9*,apache6-1.3.[1-9][0-9]*}:../../www/apache
|
2000-01-14 21:59:01 +01:00
|
|
|
# yes, this needs _exactly_ version 2.0
|
|
|
|
DEPENDS+= jsdk-2.0:../../www/jsdk20
|
2002-07-24 21:45:22 +02:00
|
|
|
USE_PERL5= build # for "apxs"
|
2000-01-14 21:59:01 +01:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-01-14 21:59:01 +01:00
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/src/scripts/build/unix/ltconfig
|
2002-12-31 16:44:28 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-apxs=${LOCALBASE}/sbin/apxs
|
|
|
|
CONFIGURE_ARGS+= --with-jdk-home=${PKG_JAVA_HOME}
|
|
|
|
CONFIGURE_ARGS+= --with-JSDK=${PREFIX}/lib/java/jsdk.jar
|
|
|
|
CONFIGURE_ARGS+= --with-logdir=/var/log/httpd
|
|
|
|
CONFIGURE_ARGS+= --with-servlets=${LOCALBASE}/share/httpd/servlets
|
|
|
|
CONFIGURE_ARGS+= --enable-EAPI
|
2000-01-14 21:59:01 +01:00
|
|
|
|
2002-12-31 16:44:28 +01:00
|
|
|
.include "../../mk/java-vm.mk"
|
2000-01-14 21:59:01 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
2000-08-15 15:46:39 +02:00
|
|
|
|
2002-10-10 03:01:09 +02:00
|
|
|
JSDK_HOME= ${PKG_JAVA_HOME}/jsdk
|
2000-01-14 21:59:01 +01:00
|
|
|
BUILD_DEFS+= JSDK_HOME
|