diff options
author | jlam <jlam@pkgsrc.org> | 2002-12-28 20:50:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-12-28 20:50:21 +0000 |
commit | 338e27bd072c2616780e6e3bc7e682251a91a26e (patch) | |
tree | 3c527d76e82f62d826ff6635330a7b094277b8f3 /www/ap-jk | |
parent | 1d658e27536161a3d13232600d4f462b86436eb9 (diff) | |
download | pkgsrc-338e27bd072c2616780e6e3bc7e682251a91a26e.tar.gz |
Separate out version number into TOMCAT_VERSION and use it everywhere
instead of hardcoding the version number. Also use apxs to do the
installation of the shared module.
Diffstat (limited to 'www/ap-jk')
-rw-r--r-- | www/ap-jk/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile index 2400fdb87aa..a316cff9965 100644 --- a/www/ap-jk/Makefile +++ b/www/ap-jk/Makefile @@ -1,19 +1,20 @@ -# $NetBSD: Makefile,v 1.13 2002/12/26 20:52:13 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2002/12/28 20:50:21 jlam Exp $ -DISTNAME= jakarta-tomcat-3.2.4-src -PKGNAME= ap-jk-3.2.4 +DISTNAME= jakarta-tomcat-${TOMCAT_VERSION}-src +PKGNAME= ap-jk-${TOMCAT_VERSION} +TOMCAT_VERSION= 3.2.4 CATEGORIES= www -MASTER_SITES= http://jakarta.apache.org/builds/tomcat/release/v3.2.4/src/ +MASTER_SITES= http://jakarta.apache.org/builds/tomcat/release/v${TOMCAT_VERSION}/src/ MAINTAINER= jwise@netbsd.org HOMEPAGE= http://jakarta.apache.org/ -COMMENT= improved connector for accessing Jakarta Tomcat or JServ from Apache +COMMENT= Apache connector for accessing Jakarta Tomcat or Apache JServ -USE_BUILDLINK2= # defined -APACHE_MODULE= # defined +USE_BUILDLINK2= # defined +APACHE_MODULE= # defined EXTRACT_ELEMENTS= ${DISTNAME}/src/native -WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3 +WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3 do-build: cd ${WRKSRC} && \ @@ -22,7 +23,7 @@ do-build: -c *.c ../jk/*.c do-install: - ${INSTALL_DATA} ${WRKSRC}/mod_jk.so ${PREFIX}/lib/httpd + cd ${WRKSRC} && ${APXS} -i mod_jk.so .include "../../www/apache/buildlink2.mk" .include "../../mk/java-vm.mk" |