blob: 8057552959ac52ed7a58d49332750b15abdb393a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# 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= 3
CATEGORIES= www java
MASTER_SITES= http://archive.apache.org/dist/java/jserv/
DISTNAME= ApacheJServ-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
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>
|