aboutsummaryrefslogtreecommitdiff
path: root/www/apache-jserv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache-jserv/Makefile')
-rw-r--r--www/apache-jserv/Makefile47
1 files changed, 21 insertions, 26 deletions
diff --git a/www/apache-jserv/Makefile b/www/apache-jserv/Makefile
index 511d3b0e2dcb..e6a04957ae13 100644
--- a/www/apache-jserv/Makefile
+++ b/www/apache-jserv/Makefile
@@ -1,47 +1,42 @@
# New ports collection makefile for: apache mod_jserv
-# Version required: 1.0
+# Version required: 1.1
# Date created: 1999/05/29
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
#
# $FreeBSD$
-DISTNAME= Apache_JServ_1.0
-PKGNAME= apache-jserv-1.0
+DISTNAME= ApacheJServ-1.1
+PKGNAME= apache-jserv-1.1
CATEGORIES= www java
MASTER_SITES= http://java.apache.org/jserv/dist/
MAINTAINER= greg@greg.rim.or.jp
-BUILD_DEPENDS= ${PREFIX}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk\
- ${PREFIX}/sbin/apachectl:${PORTSDIR}/www/apache13\
- ${PREFIX}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
-RUN_DEPENDS= ${PREFIX}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk\
- ${PREFIX}/sbin/apachectl:${PORTSDIR}/www/apache13\
- ${PREFIX}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
+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= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk\
+ ${LOCALBASE}/sbin/apachectl:${PORTSDIR}/www/apache13\
+ ${LOCALBASE}/share/java/classes/jsdk.jar:${PORTSDIR}/java/jsdk
-WRKSRC= ${WRKDIR}/ApacheJServ-1.0
USE_LIBTOOL= yes
-CONFIGURE_TARGET=
+USE_GMAKE= yes
+CONFIGURE_ENV= MAKE=${LOCALBASE}/bin/${GMAKE}
CONFIGURE_ARGS= --prefix=${PREFIX}\
- --libexecdir=${PREFIX}/libexec/apache\
- --libdir=${PREFIX}/libexec/apache\
+ --libexecdir=${LOCALBASE}/libexec/apache\
+ --libdir=${LOCALBASE}/libexec/apache\
+ --with-logdir=/var/log\
--sysconfdir=${PREFIX}/etc/apache\
- --with-jdk-home=${PREFIX}/jdk1.1.8\
- --with-jsdk=${PREFIX}/share/java/classes/jsdk.jar\
- --with-apache-install=${PREFIX}\
- --with-java=${PREFIX}/jdk1.1.8/bin/java\
- --with-javac=${PREFIX}/jdk1.1.8/bin/javac\
+ --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-compressed-jar\
+ --enable-EAPI
post-install:
- @(cd ${WRKSRC}/conf;\
- ${INSTALL_DATA} httpd.conf \
- ${PREFIX}/etc/apache/jserv.conf.default;\
- ${INSTALL_DATA} jserv.properties \
- ${PREFIX}/etc/apache/jserv.properties.default; \
- ${INSTALL_DATA} zone.properties \
- ${PREFIX}/etc/apache/zone.properties.default)
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>