summaryrefslogtreecommitdiff
path: root/www/mod_jk2/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-06-06 12:59:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-06-06 12:59:19 +0000
commitbfafd12812b9fc07a2394aab9c353f4fc9e2b95a (patch)
tree2d5ba58f26ed81b70cbfdf3563de66fccb48adb7 /www/mod_jk2/Makefile
parentUpdate to 1.1. (diff)
New port: mod_jk for apache2
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>
Notes
Notes: svn path=/head/; revision=82362
Diffstat (limited to 'www/mod_jk2/Makefile')
-rw-r--r--www/mod_jk2/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/www/mod_jk2/Makefile b/www/mod_jk2/Makefile
new file mode 100644
index 000000000000..5882a9360a53
--- /dev/null
+++ b/www/mod_jk2/Makefile
@@ -0,0 +1,40 @@
+# 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>