summaryrefslogtreecommitdiff
path: root/www/ap2-jk
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap2-jk')
-rw-r--r--www/ap2-jk/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/www/ap2-jk/Makefile b/www/ap2-jk/Makefile
index 12b65c5c161..a1f319d4887 100644
--- a/www/ap2-jk/Makefile
+++ b/www/ap2-jk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/06/30 16:09:08 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2010/02/16 14:52:33 joerg Exp $
DISTNAME= tomcat-connectors-${JK_VERSION}-src
PKGNAME= ${APACHE_PKG_PREFIX}-jk-${JK_VERSION}
@@ -6,8 +6,18 @@ PKGNAME= ${APACHE_PKG_PREFIX}-jk-${JK_VERSION}
MAKE_PARAMS+= USE_APXS=1
MAKE_PARAMS+= WITH_APXS=${APXS}
+PKG_DESTDIR_SUPPORT= user-destdir
+
PKG_APACHE_ACCEPTED= apache2 apache22
+INSTALLATION_DIRS+= lib/httpd
+
+do-install:
+ ${PREFIX}/share/httpd/build/instdso.sh \
+ SH_LIBTOOL=${PREFIX}/share/httpd/build/libtool \
+ ${WRKSRC}/apache-2.0/mod_jk.la \
+ ${DESTDIR}${PREFIX}/lib/httpd
+
.include "../../www/ap-jk/Makefile.common"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"