bfafd12812
This is a port-ification of mod_jk (a JSP connector module) for Apache 2.x. It is based on the (rather outdated) www/mod_jk port, which is an older version of mod_jk, and only works with apache 1.3. PR: ports/50828 Submitted by: Larry Lansing <lansil@fuzzilicious.fuzzynerd.com>
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# New ports collection makefile for: mod_jk
|
|
# Date created: Thu Apr 10 15:14:37 EDT 2003
|
|
# Whom: Larry Lansing <lansil@fuzzynerd.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mod_jk
|
|
PORTVERSION= 1.2.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
|
|
MASTER_SITE_SUBDIR= jakarta-tomcat-connectors/jk/release/v${PORTVERSION}/src
|
|
PKGNAMESUFFIX= -apache2
|
|
DISTNAME= jakarta-tomcat-connectors-jk-${PORTVERSION}-src
|
|
|
|
MAINTAINER= lansil@fuzzynerd.com
|
|
COMMENT= Apache 2.0 module for Tomcat
|
|
|
|
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
|
|
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
|
|
|
|
APXS?= ${PREFIX}/sbin/apxs
|
|
APACHE_PORT?= ${PORTSDIR}/www/apache2
|
|
APACHE_CONF= ${PREFIX}/etc/apache2
|
|
WRKSRC= ${WRKDIR}/jakarta-tomcat-connectors-jk-${PORTVERSION}-src/jk/native
|
|
|
|
USE_GMAKE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_AUTOCONF= YES
|
|
USE_AUTOMAKE= YES
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --with-apxs=${APXS}
|
|
|
|
do-install:
|
|
${APXS} -i -A -n jk ${WRKSRC}/apache-2.0/mod_jk.so
|
|
${SED} -e "s#%%APACHE_CONF%%#${APACHE_CONF}#g" ${FILESDIR}/mod_jk.conf.sample > ${WRKDIR}/mod_jk.conf.sample
|
|
${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${APACHE_CONF}
|
|
${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${APACHE_CONF}
|
|
|
|
.include <bsd.port.mk>
|