summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs>2009-12-17 19:35:03 +0000
committerabs <abs>2009-12-17 19:35:03 +0000
commitf337888dae1824437046040476298806f14ecd2b (patch)
treead57ed4b2128d9d1659250275aea473ceb3eb163 /www
parent441e6d21f18337dfe6cd79e01e8ff9d36bbe840b (diff)
downloadpkgsrc-f337888dae1824437046040476298806f14ecd2b.tar.gz
+PKG_DESTDIR_SUPPORT
Diffstat (limited to 'www')
-rw-r--r--www/htdig/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/htdig/Makefile b/www/htdig/Makefile
index b8594ea3c21..e4e925fdbac 100644
--- a/www/htdig/Makefile
+++ b/www/htdig/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --with-cgi-bin-dir=${PREFIX}/libexec/cgi-bin \
--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 @@ CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \
EXTRACT_OPTS+= -x
EXTRACT_ELEMENTS= ${DISTNAME}/db*
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../databases/db/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"