mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
549b906542
PR: 19599 Submitted by: Palle Girgensohn <girgen@partitur.se>
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# New ports collection makefile for: apache mod_jserv
|
|
# Date created: 1999/05/29
|
|
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= apache-jserv
|
|
PORTVERSION= 1.1.2
|
|
CATEGORIES= www java
|
|
MASTER_SITES= http://java.apache.org/jserv/dist/
|
|
DISTNAME= ApacheJServ-${PORTVERSION}
|
|
|
|
MAINTAINER= greg@greg.rim.or.jp
|
|
|
|
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
|
|
RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper\
|
|
${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
|
|
${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_GMAKE= yes
|
|
JAVAVM?= ${LOCALBASE}/bin/javavm
|
|
CONFIGURE_ENV= MAKE=${LOCALBASE}/bin/${GMAKE}
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}\
|
|
--libexecdir=${LOCALBASE}/libexec/apache\
|
|
--libdir=${LOCALBASE}/libexec/apache\
|
|
--with-logdir=/var/log\
|
|
--sysconfdir=${PREFIX}/etc/apache\
|
|
--with-apxs=${LOCALBASE}/sbin/apxs\
|
|
--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\
|
|
--with-gnu-ld\
|
|
--enable-compressed-jar\
|
|
--enable-EAPI
|
|
.if defined (WITH_JIKES)
|
|
CONFIGURE_ARGS+=--with-javac=${LOCALBASE}/bin/jikes
|
|
.endif
|
|
|
|
pre-install:
|
|
${MKDIR} ${PREFIX}/share/java/classes
|
|
|
|
post-install:
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|