From 888ecd404f2990b925ab0e3945c8c49a72031f2a Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 21:08:34 +0000 Subject: user-destdir support --- textproc/lq-sp/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'textproc/lq-sp') diff --git a/textproc/lq-sp/Makefile b/textproc/lq-sp/Makefile index 8472df43197..10bb0248ffa 100644 --- a/textproc/lq-sp/Makefile +++ b/textproc/lq-sp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/04/22 09:22:15 rillig Exp $ +# $NetBSD: Makefile,v 1.12 2009/07/07 21:11:08 joerg Exp $ # DISTNAME= lq-sp-1.3.4.12 @@ -10,6 +10,7 @@ HOMEPAGE= http://www.htmlhelp.com/tools/validator/offline/ COMMENT= Modified SP package PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c c++ @@ -25,6 +26,6 @@ SUBST_SED.paths= -e 's,/usr/local,${PREFIX},g' INSTALLATION_DIRS+= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nsgmls/lq-nsgmls ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/nsgmls/lq-nsgmls ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3