mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
0d53eef16b
- Use bsd.java.mk macros: ${JAVAJARDIR}, ${JAVALIBDIR} and ${JAVASHAREDIR} PR: 102404 Submitted by: hq Approved by: maintainer timeout
54 lines
1.4 KiB
Makefile
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>
|