summaryrefslogtreecommitdiff
path: root/archivers/xmill
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 03:48:36 +0000
commit19758f6cbe35775c1b5055745b7da304d9b97282 (patch)
tree14eb87fa09bb9b6f1b081eea0499821310cc436b /archivers/xmill
parent4e43bea59ab72a8987814c672201fbfb219de4c2 (diff)
downloadpkgsrc-19758f6cbe35775c1b5055745b7da304d9b97282.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'archivers/xmill')
-rw-r--r--archivers/xmill/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/xmill/Makefile b/archivers/xmill/Makefile
index f58c9d36194..3078b317877 100644
--- a/archivers/xmill/Makefile
+++ b/archivers/xmill/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/12/15 14:34:18 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/02 03:48:37 jlam Exp $
DISTNAME= xmill-0.9.1
PKGREVISION= 3
@@ -10,6 +10,7 @@ HOMEPAGE= ${MASTER_SITES}
COMMENT= Specialized compressor for XML
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
MAKE_FILE= makefile
@@ -35,13 +36,13 @@ do-install:
${WRKSRC}/documentation/README.txt \
${WRKSRC}/documentation/xmill.ps.gz \
${WRKSRC}/documentation/xmill-09-doc.txt \
- ${PREFIX}/share/doc/xmill
+ ${DESTDIR}${PREFIX}/share/doc/xmill
${INSTALL_PROGRAM} ${WRKSRC}/unix/xcmill \
${WRKSRC}/unix/xdemill \
${WRKSRC}/unix/xmillexample \
${WRKSRC}/unix/xmillinspect \
${WRKSRC}/unix/xmilltest \
- ${PREFIX}/bin
+ ${DESTDIR}${PREFIX}/bin
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"