1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/apache-jserv/Makefile
Herve Quiroz 0d53eef16b - Update to bsd.java.mk 2.0
- Use bsd.java.mk macros: ${JAVAJARDIR}, ${JAVALIBDIR} and ${JAVASHAREDIR}

PR:		102404
Submitted by:	hq
Approved by:	maintainer timeout
2006-09-07 13:04:19 +00:00

54 lines
1.4 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
PORTREVISION= 2
CATEGORIES= www java
MASTER_SITES= http://archive.apache.org/dist/java/jserv/
DISTNAME= ApacheJServ-${PORTVERSION}
MAINTAINER= greg@greg.rim.or.jp
COMMENT= Loadable servlet module for apache
USE_JAVA= yes
BUILD_DEPENDS= ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/${APACHE_PORT}\
${JAVALIBDIR}/jsdk.jar:${PORTSDIR}/java/jsdk
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper\
${LOCALBASE}/sbin/apachectl:${PORTSDIR}/${APACHE_PORT}\
${JAVALIBDIR}/jsdk.jar:${PORTSDIR}/java/jsdk
USE_GMAKE= yes
GMAKE= ${LOCALBASE}/bin/gmake # Must have the full path.
GNU_CONFIGURE= yes
USE_PERL5= yes
APACHE_COMPAT= yes
CONFIGURE_ENV= PERL=${PERL}
CONFIGURE_ARGS= --prefix=${PREFIX}\
--libexecdir=${LOCALBASE}/libexec/apache\
--libdir=${LOCALBASE}/libexec/apache\
--with-logdir=/var/log\
--sysconfdir=${PREFIX}/etc/apache\
--with-apxs=${APXS}\
--with-jdk-home=${JAVA_HOME}\
--with-JSDK=${JAVALIBDIR}/jsdk.jar\
--with-java=${JAVA}\
--with-javac=${JAVAC}\
--with-servlets=${JAVASHAREDIR}/servlets\
--with-gnu-ld\
--enable-compressed-jar\
--enable-EAPI
.if defined (HAVE_JIKES)
CONFIGURE_ARGS+=--with-javac=${LOCALBASE}/bin/jikes
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>