summaryrefslogtreecommitdiff
path: root/textproc/xmlindent
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 20:25:27 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 20:25:27 +0000
commit99b23421ba6766aec8d6395e46736b7b19c2d009 (patch)
treeac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /textproc/xmlindent
parentaeb2d168e47ed0ee66a89960498014672ab4a148 (diff)
downloadpkgsrc-99b23421ba6766aec8d6395e46736b7b19c2d009.tar.gz
user-destdir support
Diffstat (limited to 'textproc/xmlindent')
-rw-r--r--textproc/xmlindent/Makefile7
1 files changed, 4 insertions, 3 deletions
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"