2002-07-16 11:05:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2002/07/16 15:05:08 brad Exp $
|
2002-03-12 08:04:31 -05:00
|
|
|
|
|
|
|
BROKEN= "HANDLER THREAD PROBLEM: java.net.SocketException: Resource temporarily unavailable"
|
2001-06-17 08:22:17 -04:00
|
|
|
|
|
|
|
# Build just the Tomcat connector for our in-tree Apache
|
|
|
|
COMMENT= "Tomcat (Servlet/JSP) - Apache Connector"
|
|
|
|
|
2002-03-21 09:21:30 -05:00
|
|
|
# This port currently only works with archs supporting dynamic loading,
|
|
|
|
# that have Apache that supports DSO's and requires Jakarta-Tomcat (which
|
|
|
|
# requires a JVM).
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2001-12-14 23:07:29 -05:00
|
|
|
|
2002-03-12 08:04:31 -05:00
|
|
|
V= 3.2.4
|
2001-11-20 05:30:17 -05:00
|
|
|
PKGNAME= jserv-${V}
|
|
|
|
DISTNAME= jakarta-tomcat-${V}-src
|
2001-06-17 08:22:17 -04:00
|
|
|
CATEGORIES= www
|
2001-11-20 05:30:17 -05:00
|
|
|
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v${V}/src/
|
|
|
|
EXTRACT_SUFX= .zip
|
2001-06-17 08:22:17 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://jakarta.apache.org/
|
|
|
|
|
|
|
|
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
|
|
|
|
|
2002-06-09 23:14:34 -04:00
|
|
|
RUN_DEPENDS= :jakarta-tomcat-3.*:www/jakarta-tomcat/v3
|
2001-06-17 08:22:17 -04:00
|
|
|
|
|
|
|
# Apache Software License
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-11-20 05:30:17 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-06-17 08:22:17 -04:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/src/native/apache/jserv && /usr/sbin/apxs -c *.c -o mod_jserv.so
|
|
|
|
|
|
|
|
do-install:
|
2002-07-16 11:05:08 -04:00
|
|
|
@sed 's,y0y0y0,${TRUEPREFIX},' \
|
|
|
|
< ${FILESDIR}/jserv-enable > ${WRKSRC}/jserv-enable
|
2001-06-17 08:22:17 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/jserv-enable ${PREFIX}/sbin/jserv-enable
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/native/apache/jserv/mod_jserv.so ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jserv
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/server.xml ${PREFIX}/share/examples/jserv
|
|
|
|
|
|
|
|
.include "bsd.port.mk"
|