1999-06-30 22:03:13 +00:00
|
|
|
# New ports collection makefile for: apache mod_jserv
|
|
|
|
# Date created: 1999/05/29
|
|
|
|
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
2000-04-10 00:07:29 +00:00
|
|
|
#
|
1999-06-30 22:03:13 +00:00
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= apache-jserv
|
2000-07-07 19:23:35 +00:00
|
|
|
PORTVERSION= 1.1.2
|
1999-06-30 22:03:13 +00:00
|
|
|
CATEGORIES= www java
|
|
|
|
MASTER_SITES= http://java.apache.org/jserv/dist/
|
2000-07-07 19:23:35 +00:00
|
|
|
DISTNAME= ApacheJServ-${PORTVERSION}
|
1999-06-30 22:03:13 +00:00
|
|
|
|
|
|
|
MAINTAINER= greg@greg.rim.or.jp
|
|
|
|
|
2000-02-10 14:19:22 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk\
|
|
|
|
${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
|
|
|
|
${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
|
2000-07-07 19:23:35 +00:00
|
|
|
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper\
|
2000-02-10 14:19:22 +00:00
|
|
|
${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
|
|
|
|
${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
|
1999-06-30 22:03:13 +00:00
|
|
|
|
2000-02-10 14:19:22 +00:00
|
|
|
USE_GMAKE= yes
|
2000-11-13 04:48:16 +00:00
|
|
|
GMAKE= ${LOCALBASE}/bin/gmake # Must have the full path.
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PERL5= yes
|
2000-07-07 19:23:35 +00:00
|
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
2000-11-13 04:48:16 +00:00
|
|
|
CONFIGURE_ENV= PERL=${PERL}
|
1999-06-30 22:03:13 +00:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}\
|
2000-02-10 14:19:22 +00:00
|
|
|
--libexecdir=${LOCALBASE}/libexec/apache\
|
|
|
|
--libdir=${LOCALBASE}/libexec/apache\
|
|
|
|
--with-logdir=/var/log\
|
1999-06-30 22:03:13 +00:00
|
|
|
--sysconfdir=${PREFIX}/etc/apache\
|
2000-04-30 19:41:31 +00:00
|
|
|
--with-apxs=${LOCALBASE}/sbin/apxs\
|
2000-02-10 14:19:22 +00:00
|
|
|
--with-jdk-home=${LOCALBASE}/jdk1.1.8\
|
|
|
|
--with-JSDK=${LOCALBASE}/share/java/classes/jsdk.jar\
|
|
|
|
--with-java=${LOCALBASE}/jdk1.1.8/bin/java\
|
|
|
|
--with-javac=${LOCALBASE}/jdk1.1.8/bin/javac\
|
|
|
|
--with-servlets=${PREFIX}/share/java/servlets\
|
1999-06-30 22:03:13 +00:00
|
|
|
--with-gnu-ld\
|
2000-02-10 14:19:22 +00:00
|
|
|
--enable-compressed-jar\
|
|
|
|
--enable-EAPI
|
2000-05-29 03:24:56 +00:00
|
|
|
.if defined (WITH_JIKES)
|
2000-04-30 19:41:31 +00:00
|
|
|
CONFIGURE_ARGS+=--with-javac=${LOCALBASE}/bin/jikes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/java/classes
|
1999-06-30 22:03:13 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-06-30 22:03:13 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|