From 99b23421ba6766aec8d6395e46736b7b19c2d009 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 20:25:27 +0000 Subject: user-destdir support --- textproc/xmlindent/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'textproc/xmlindent') diff --git a/textproc/xmlindent/Makefile b/textproc/xmlindent/Makefile index 781c4b13949..a883dcdbb48 100644 --- a/textproc/xmlindent/Makefile +++ b/textproc/xmlindent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/01/07 09:14:14 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2009/07/07 20:27:05 joerg Exp $ # DISTNAME= xmlindent-0.2.16 @@ -10,6 +10,7 @@ HOMEPAGE= http://www.cs.helsinki.fi/u/penberg/xmlindent/src/ COMMENT= XML stream reformatter written in ANSI C PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= lex @@ -18,7 +19,7 @@ GCC_REQD+= 3.0 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xmlindent ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/xmlindent.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/xmlindent ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xmlindent.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3