freebsd-ports/www/mod_jk/Makefile
Dirk Froemberg dd56df5272 Initial import mod_jk supplied with jakarta-tomcat 3.2.1:
Apache module for jakarta-tomcat connection.
2001-05-20 14:00:25 +00:00

35 lines
998 B
Makefile

# New ports collection makefile for: mod_jk
# Date created: Sun May 20 12:58:02 CEST 2001
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mod_jk
PORTVERSION= 3.2.1
CATEGORIES= www
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/src/
DISTNAME= jakarta-tomcat-3.2.1-src
MAINTAINER= dirk@FreeBSD.org
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \
${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \
${LOCALBASE}/tomcat/lib/webserver.jar:${PORTSDIR}/www/jakarta-tomcat
USE_GMAKE= yes
MAKEFILE= Makefile.freebsd
WRKSRC= ${WRKDIR}/jakarta-tomcat-3.2.1-src/src/native/apache1.3
APXS?= ${LOCALBASE}/sbin/apxs
do-install:
${APXS} -i -A -n jk ${WRKSRC}/mod_jk.so
${SED} -e "s#%%PREFIX%%#${PREFIX}#g" ${FILESDIR}/mod_jk.conf > ${WRKDIR}/mod_jk.conf
${INSTALL_DATA} ${WRKDIR}/mod_jk.conf ${PREFIX}/etc/apache
@${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGMESSAGE}
.include <bsd.port.mk>