pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-jk DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/f281c34265a1
branches: trunk
changeset: 571852:f281c34265a1
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Feb 16 14:52:33 2010 +0000
description:
DESTDIR support
diffstat:
www/ap2-jk/Makefile | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 5425860f5050 -r f281c34265a1 www/ap2-jk/Makefile
--- a/www/ap2-jk/Makefile Tue Feb 16 14:52:13 2010 +0000
+++ b/www/ap2-jk/Makefile Tue Feb 16 14:52:33 2010 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index