pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/htdig +PKG_DESTDIR_SUPPORT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/536b7d5c6042
branches:  trunk
changeset: 568751:536b7d5c6042
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Dec 17 19:35:03 2009 +0000

description:
+PKG_DESTDIR_SUPPORT

diffstat:

 www/htdig/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 122f9a333c07 -r 536b7d5c6042 www/htdig/Makefile
--- a/www/htdig/Makefile        Thu Dec 17 19:32:28 2009 +0000
+++ b/www/htdig/Makefile        Thu Dec 17 19:35:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2007/12/02 12:32:40 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2009/12/17 19:35:03 abs Exp $
 
 DISTNAME=      htdig-3.1.6
 PKGREVISION=   5
@@ -20,7 +20,8 @@
                --with-database-dir=${DBDIR:Q} \
                --with-image-dir=${PREFIX}/share/examples/htdig \
                --with-search-dir=${PREFIX}/share/examples/htdig
-CONFIGURE_ENV+=        PDF_PARSER="${LOCALBASE}/bin/acroread"
+MAKE_ENV+=     INSTALL_ROOT=${DESTDIR:Q}
+CONFIGURE_ENV+=        PDF_PARSER="${PREFIX}/bin/acroread"
 CXXFLAGS+=     -Wno-deprecated
 CPPFLAGS+=     ${CXXFLAGS}
 
@@ -38,6 +39,8 @@
 EXTRACT_OPTS+=         -x
 EXTRACT_ELEMENTS=      ${DISTNAME}/db*
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 .include "../../databases/db/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 



Home | Main Index | Thread Index | Old Index