summaryrefslogtreecommitdiff
path: root/www/ap-jk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap-jk/Makefile')
-rw-r--r--www/ap-jk/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile
new file mode 100644
index 00000000000..35423cedea0
--- /dev/null
+++ b/www/ap-jk/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/29 19:34:18 jwise Exp $
+
+DISTNAME= jakarta-tomcat-3.2.1-src
+PKGNAME= ap-jk-3.2.1
+CATEGORIES= www
+MASTER_SITES= http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/
+
+MAINTAINER= jwise@netbsd.org
+HOMEPAGE= http://jakarta.apache.org/
+COMMENT= improved connector for accessing Jakarta Tomcat or JServ from Apache
+
+DEPENDS+= apache-*:../../www/apache
+
+DIGEST_FILE= ${PKGSRCDIR}/www/jakarta-tomcat/files/md5
+
+USE_JAVA= yes
+USE_PERL= yes
+
+EXTRACT_ELEMENTS= ${DISTNAME}/src/native
+WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3
+
+do-build:
+ (cd ${WRKSRC} && \
+ ${LOCALBASE}/sbin/apxs -o mod_jk.so \
+ -I../jk -I${JAVA_HOME}/include -I${JAVA_HOME}/include/netbsd \
+ -c *.c ../jk/*.c)
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/mod_jk.so ${PREFIX}/lib/httpd
+
+.include "../../mk/bsd.pkg.mk"