diff options
author | joerg <joerg> | 2010-02-16 14:52:33 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-16 14:52:33 +0000 |
commit | c5ce257bb9ca41f12502907c5d5c274c0529b32e (patch) | |
tree | ec70d5f904023386758993be2e1efc87b1760123 | |
parent | cfc3e1ef9dfc77cccc62114641de7d23926ea794 (diff) | |
download | pkgsrc-c5ce257bb9ca41f12502907c5d5c274c0529b32e.tar.gz |
DESTDIR support
-rw-r--r-- | www/ap2-jk/Makefile | 12 |
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" |