1999-06-30 18:03:13 -04:00
|
|
|
# New ports collection makefile for: apache mod_jserv
|
|
|
|
# Date created: 1999/05/29
|
|
|
|
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
|
|
|
#
|
1999-08-30 22:43:35 -04:00
|
|
|
# $FreeBSD$
|
2000-04-09 20:07:29 -04:00
|
|
|
#
|
1999-06-30 18:03:13 -04:00
|
|
|
|
2000-04-09 20:07:29 -04:00
|
|
|
PORTNAME= apache-jserv
|
2000-07-07 15:23:35 -04:00
|
|
|
PORTVERSION= 1.1.2
|
1999-06-30 18:03:13 -04:00
|
|
|
CATEGORIES= www java
|
|
|
|
MASTER_SITES= http://java.apache.org/jserv/dist/
|
2000-07-07 15:23:35 -04:00
|
|
|
DISTNAME= ApacheJServ-${PORTVERSION}
|
1999-06-30 18:03:13 -04:00
|
|
|
|
|
|
|
MAINTAINER= greg@greg.rim.or.jp
|
|
|
|
|
2000-02-10 09:19:22 -05: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 15:23:35 -04:00
|
|
|
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper\
|
2000-02-10 09:19:22 -05:00
|
|
|
${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
|
|
|
|
${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
|
1999-06-30 18:03:13 -04:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2000-02-10 09:19:22 -05:00
|
|
|
USE_GMAKE= yes
|
2000-07-07 15:23:35 -04:00
|
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
2000-02-10 09:19:22 -05:00
|
|
|
CONFIGURE_ENV= MAKE=${LOCALBASE}/bin/${GMAKE}
|
1999-06-30 18:03:13 -04:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}\
|
2000-02-10 09:19:22 -05:00
|
|
|
--libexecdir=${LOCALBASE}/libexec/apache\
|
|
|
|
--libdir=${LOCALBASE}/libexec/apache\
|
|
|
|
--with-logdir=/var/log\
|
1999-06-30 18:03:13 -04:00
|
|
|
--sysconfdir=${PREFIX}/etc/apache\
|
2000-04-30 15:41:31 -04:00
|
|
|
--with-apxs=${LOCALBASE}/sbin/apxs\
|
2000-02-10 09:19:22 -05: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 18:03:13 -04:00
|
|
|
--with-gnu-ld\
|
2000-02-10 09:19:22 -05:00
|
|
|
--enable-compressed-jar\
|
|
|
|
--enable-EAPI
|
2000-05-28 23:24:56 -04:00
|
|
|
.if defined (WITH_JIKES)
|
2000-04-30 15:41:31 -04:00
|
|
|
CONFIGURE_ARGS+=--with-javac=${LOCALBASE}/bin/jikes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/java/classes
|
1999-06-30 18:03:13 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|