summaryrefslogtreecommitdiff
path: root/www/ap2-jk
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-16 14:52:33 +0000
committerjoerg <joerg>2010-02-16 14:52:33 +0000
commitc5ce257bb9ca41f12502907c5d5c274c0529b32e (patch)
treeec70d5f904023386758993be2e1efc87b1760123 /www/ap2-jk
parentcfc3e1ef9dfc77cccc62114641de7d23926ea794 (diff)
downloadpkgsrc-c5ce257bb9ca41f12502907c5d5c274c0529b32e.tar.gz
DESTDIR support
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"